Commit 7b3d59f7 authored by Philip Chimento's avatar Philip Chimento 🚮

arg: GType should be stored in unsigned GIArgument storage

GType is size_t or unsigned long, depending on the compiler; not signed.
parent 833c6459
Pipeline #199504 passed with stages
in 4 minutes and 53 seconds
......@@ -113,7 +113,7 @@ GJS_USE inline decltype(auto) gjs_arg_member<char32_t>(GIArgument* arg) {
template <>
GJS_USE inline decltype(auto) gjs_arg_member<GType, GI_TYPE_TAG_GTYPE>(
GIArgument* arg) {
return gjs_arg_member(arg, &GIArgument::v_ssize);
return gjs_arg_member(arg, &GIArgument::v_size);
}
template <>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment