summaryrefslogtreecommitdiffstats
path: root/src/tools/g2/pointsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/g2/pointsel.c')
-rw-r--r--src/tools/g2/pointsel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/g2/pointsel.c b/src/tools/g2/pointsel.c
index 59822377219..fae93365e3d 100644
--- a/src/tools/g2/pointsel.c
+++ b/src/tools/g2/pointsel.c
@@ -169,7 +169,7 @@ static void down_button(void)
static void button_click_callback(GtkButton *item, gpointer data)
{
int i;
- enum button_click click = (enum button_click)data;
+ enum button_click click = (enum button_click) (long int) data;
switch (click) {
case ALL_BUTTON: