chiark / gitweb /
giant reorg abolishes TrainNum most of the time; working on making it build
[trains.git] / hostside / startup.c
index 9f8a0fe23a1fb4897d2bd77402ebbaa81a18f976..a580280009072271cef3056428a99a1c6ca1db89 100644 (file)
@@ -192,7 +192,7 @@ void on_pic_detect1(const PicInsnInfo *pii, const PicInsn *pi, int segn) {
            info_segments[segn].pname);
     return;
   }
-  safety_notify_detection(segn);
+  safety_notify_detection(&segments[segn]);
 }
 
 /*---------- fixme move these to where they want to go ----------*/