Cary Sandvig 25 years ago
parent
commit
fdf7e8490d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/testbed/deadrec_rec.cxx

+ 1 - 1
panda/src/testbed/deadrec_rec.cxx

@@ -271,7 +271,7 @@ static void correct_event(CPT_Event e) {
   }
   }
 }
 }
 
 
-typedef void event_func(CPT_Event);
+typedef void (*event_func)(CPT_Event);
 
 
 static inline GuiButton* make_button(const string& name, Node* font,
 static inline GuiButton* make_button(const string& name, Node* font,
 				     EventHandler& eh, event_func func) {
 				     EventHandler& eh, event_func func) {