Backport !2631 “Cast to guintptr instead of subtracting by null” to glib-2-72
Subtraction by a null pointer is undefined behavior, so it's been replaced with a cast to guintptr.
Trivial backport of !2631 (merged) to glib-2-72
.
Subtraction by a null pointer is undefined behavior, so it's been replaced with a cast to guintptr.
Trivial backport of !2631 (merged) to glib-2-72
.