diff options
author | rbuj <[email protected]> | 2021-10-20 08:51:11 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-01-23 17:44:38 +0100 |
commit | a0aba76b879ab7006175782c4a6776aca6109341 (patch) | |
tree | 12a3d9a576a90d0f952d312563347b264c75c57d | |
parent | 986b79874567caba035c125cd675edc89bea49c9 (diff) | |
download | mate-settings-daemon-a0aba76b879ab7006175782c4a6776aca6109341.tar.bz2 mate-settings-daemon-a0aba76b879ab7006175782c4a6776aca6109341.tar.xz |
xrdb: wrong type field in printf format string
-rw-r--r-- | plugins/xrdb/msd-xrdb-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xrdb/msd-xrdb-manager.c b/plugins/xrdb/msd-xrdb-manager.c index 50961e6..f4c35a7 100644 --- a/plugins/xrdb/msd-xrdb-manager.c +++ b/plugins/xrdb/msd-xrdb-manager.c @@ -69,9 +69,9 @@ append_color_define (GString *string, g_string_append_printf (string, "#define %s #%2.2hx%2.2hx%2.2hx\n", name, - color->red>>8, - color->green>>8, - color->blue>>8); + (unsigned short) (color->red>>8), + (unsigned short) (color->green>>8), + (unsigned short) (color->blue>>8)); } static GdkColor* |