ELF: Add run-time tests for -z now
[deliverable/binutils-gdb.git] / gdb / ser-pipe.c
index 1e777b7e4f6ee7fa8745f7ca4fb94901cde27797..ae989a08dd1c79898240c1cdefb9f036275b21a6 100644 (file)
@@ -1,5 +1,5 @@
 /* Serial interface for a pipe to a separate program
-   Copyright (C) 1999-2015 Free Software Foundation, Inc.
+   Copyright (C) 1999-2017 Free Software Foundation, Inc.
 
    Contributed by Cygnus Solutions.
 
@@ -148,7 +148,7 @@ pipe_open (struct serial *scb, const char *name)
 static void
 pipe_close (struct serial *scb)
 {
-  struct pipe_state *state = scb->state;
+  struct pipe_state *state = (struct pipe_state *) scb->state;
 
   close (scb->fd);
   scb->fd = -1;
This page took 0.024209 seconds and 4 git commands to generate.