pike.git / src / post_modules / GTK2 / source / support.c

version» Context lines:

pike.git/src/post_modules/GTK2/source/support.c:536:    case G_TYPE_FLAGS:    retval=(LONGEST)g_value_get_flags(a);    break;    case G_TYPE_BOOLEAN:    retval=(LONGEST)g_value_get_boolean(a);    break;    case G_TYPE_LONG:    retval=(LONGEST)g_value_get_long(a);    break;    case G_TYPE_CHAR: -  retval=(LONGEST)g_value_get_char(a); +  retval=(LONGEST)g_value_get_schar(a);    break;    default:    retval=(LONGEST)g_value_get_uint(a);    break;    }    push_int64(retval);    return PUSHED_VALUE;   }      static int pgtk2_push_float_param(const GValue *a) {
pike.git/src/post_modules/GTK2/source/support.c:1194:    return;    }    switch (gt) {    case G_TYPE_INT:    g_value_set_int(gv,(gint)PGTK_GETINT(sv));    break;    case G_TYPE_UINT:    g_value_set_uint(gv,(guint)PGTK_GETINT(sv));    break;    case G_TYPE_CHAR: -  g_value_set_char(gv,(gchar)PGTK_GETINT(sv)); +  g_value_set_schar(gv,(gchar)PGTK_GETINT(sv));    break;    case G_TYPE_UCHAR:    g_value_set_uchar(gv,(guchar)PGTK_GETINT(sv));    break;    case G_TYPE_LONG:    g_value_set_long(gv,(glong)PGTK_GETINT(sv));    break;    case G_TYPE_ULONG:    g_value_set_ulong(gv,(gulong)PGTK_GETINT(sv));    break;