Index: trunk/src/tool.c =================================================================== --- trunk/src/tool.c (revision 25217) +++ trunk/src/tool.c (revision 25218) @@ -196,7 +196,7 @@ if (pcb_gui == NULL) return; - for(n = 0, tool = (pcb_tool_t *)pcb_tools.array; n < pcb_tools.used; n++,tool++) + for(n = 0, tool = (pcb_tool_t **)pcb_tools.array; n < pcb_tools.used; n++,tool++) if (*tool != NULL) pcb_gui->reg_mouse_cursor(NULL, n, (*tool)->cursor.name, (*tool)->cursor.pixel, (*tool)->cursor.mask); }