comparison finch/gntplugin.c @ 26281:b23211876f47

Fix Finch warnings when building on 64-bit Fixes #8425.
author Paul Aurich <paul@darkrain42.org>
date Fri, 20 Mar 2009 06:01:48 +0000
parents c38d72677c8a
children f5f08111da52
comparison
equal deleted inserted replaced
26280:e1b91b7b5f69 26281:b23211876f47
482 while (list && list->next) { 482 while (list && list->next) {
483 const char *label = list->data; 483 const char *label = list->data;
484 char *value = NULL; 484 char *value = NULL;
485 switch(type) { 485 switch(type) {
486 case PURPLE_PREF_BOOLEAN: 486 case PURPLE_PREF_BOOLEAN:
487 value = g_strdup_printf("%d", (int)list->next->data); 487 value = g_strdup_printf("%d", GPOINTER_TO_INT(list->next->data));
488 break; 488 break;
489 case PURPLE_PREF_INT: 489 case PURPLE_PREF_INT:
490 value = g_strdup_printf("%d", (int)list->next->data); 490 value = g_strdup_printf("%d", GPOINTER_TO_INT(list->next->data));
491 break; 491 break;
492 case PURPLE_PREF_STRING: 492 case PURPLE_PREF_STRING:
493 value = g_strdup(list->next->data); 493 value = g_strdup(list->next->data);
494 break; 494 break;
495 default: 495 default: