mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 11:25:35 +08:00
22 lines
719 B
Diff
22 lines
719 B
Diff
diff --git a/glib/glib/goption.c b/glib/glib/goption.c
|
|
index 0a22f6f..f439fd4 100644
|
|
--- a/glib/glib/goption.c
|
|
+++ b/glib/glib/goption.c
|
|
@@ -166,7 +166,7 @@ typedef struct
|
|
gpointer arg_data;
|
|
union
|
|
{
|
|
- gboolean bool;
|
|
+ gboolean boolean;
|
|
gint integer;
|
|
gchar *str;
|
|
gchar **array;
|
|
@@ -1600,7 +1600,7 @@ free_changes_list (GOptionContext *context,
|
|
switch (change->arg_type)
|
|
{
|
|
case G_OPTION_ARG_NONE:
|
|
- *(gboolean *)change->arg_data = change->prev.bool;
|
|
+ *(gboolean *)change->arg_data = change->prev.boolean;
|
|
break;
|
|
case G_OPTION_ARG_INT:
|
|
*(gint *)change->arg_data = change->prev.integer;
|