Index: view.h =================================================================== --- view.h (revision 21275) +++ view.h (revision 21276) @@ -96,7 +96,7 @@ /* Slow, linear search for an UID in a list; returns NULL if not found; optionally count the number of preceeding items and sotre it in cnt. */ pcb_view_t *pcb_view_by_uid(const pcb_view_list_t *lst, unsigned long int uid); -pcb_view_t *pcb_view_by_uid_cnt(const pcb_view_list_t *lst, unsigned long int uid, size_t *cnt); +pcb_view_t *pcb_view_by_uid_cnt(const pcb_view_list_t *lst, unsigned long int uid, long *cnt); /* Zoom the drawing area to the drc error */ void pcb_view_goto(pcb_view_t *item);