Index: trunk/src/tool.h =================================================================== --- trunk/src/tool.h (revision 16504) +++ trunk/src/tool.h (revision 16505) @@ -126,6 +126,6 @@ /**** Low level, for internal use ****/ /* Get the tool pointer of a tool by id */ -#define pcb_tool_get(id) ((const pcb_tool_t *)vtp0_get(&pcb_tools, id, 0)) +#define pcb_tool_get(id) ((const pcb_tool_t *)*vtp0_get(&pcb_tools, id, 0)) #endif