From 0bae3f6b25cd34966a6999795c8ce4138daa966f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Pitteli=20Gon=C3=A7alves?= Date: Sun, 12 Feb 2023 13:29:44 -0300 Subject: [PATCH] fix for windows compilation --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 5babadd..2e5d80e 100644 --- a/main.cpp +++ b/main.cpp @@ -4029,7 +4029,7 @@ Php::Value phpgtk_get_phpvalue(GValue *gvalue) return g_value_get_long(gvalue); break; case G_TYPE_ULONG: - return g_value_get_int64(gvalue); + return (int64_t)g_value_get_int64(gvalue); break; case G_TYPE_UCHAR: return g_value_get_uchar(gvalue);