mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01: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:
parent
96fb3b9c03
commit
b54acf513d
@ -219,10 +219,10 @@ static GWeakRef the_system_bus;
|
||||
* message, and we're being called from its thread, so no memory barrier is
|
||||
* 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 */
|
||||
#define CALL_FLAGS_INITIALIZING (1<<31)
|
||||
#define CALL_FLAGS_INITIALIZING (1u << 31)
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user