mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
GDBusConnection: use uint for bitshifts
"1 << 31" is not well-defined, do use "1u << 31" instead. https://bugzilla.gnome.org/show_bug.cgi?id=762748
This commit is contained in:
@@ -219,10 +219,10 @@ static GWeakRef the_system_bus;
|
|||||||
* message, and we're being called from its thread, so no memory barrier is
|
* message, and we're being called from its thread, so no memory barrier is
|
||||||
* required before accessing them.
|
* required before accessing them.
|
||||||
*/
|
*/
|
||||||
#define SEND_MESSAGE_FLAGS_INITIALIZING (1<<31)
|
#define SEND_MESSAGE_FLAGS_INITIALIZING (1u << 31)
|
||||||
|
|
||||||
/* Same as SEND_MESSAGE_FLAGS_INITIALIZING, but in GDBusCallFlags */
|
/* Same as SEND_MESSAGE_FLAGS_INITIALIZING, but in GDBusCallFlags */
|
||||||
#define CALL_FLAGS_INITIALIZING (1<<31)
|
#define CALL_FLAGS_INITIALIZING (1u << 31)
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user