gdbserver/event-loop.c: type mismatch
[deliverable/binutils-gdb.git] / gdb / gdbserver / event-loop.c
index 08a503f49e7c4e93ba458325ff7059bbf3d2efa6..d1825aeb022f5f50ef540ff161909a001b8eded2 100644 (file)
@@ -130,7 +130,7 @@ struct callback_event
   {
     int id;
     callback_handler_func *proc;
-    gdb_client_data *data;
+    gdb_client_data data;
     struct callback_event *next;
   };
 
@@ -249,7 +249,7 @@ process_callback (void)
   if (event_ptr != NULL)
     {
       callback_handler_func *proc = event_ptr->proc;
-      gdb_client_data *data = event_ptr->data;
+      gdb_client_data data = event_ptr->data;
 
       /* Remove the event before calling PROC,
         more events may get added by PROC.  */
This page took 0.02668 seconds and 4 git commands to generate.