diff options
author | Jan D <jan.h.d@swipnet.se> | 2015-04-26 13:55:01 +0200 |
---|---|---|
committer | Jan D <jan.h.d@swipnet.se> | 2015-04-26 13:55:01 +0200 |
commit | f92ac2e82ed199d6f25d2a59508e08addb1150ac (patch) | |
tree | d7d7756e3dbce10d8f73c27815d815499f78c2bd /src/gtkutil.c | |
parent | 5a094119ce79723108abd90a1fcc33721e964823 (diff) | |
parent | a40869789fc5502e3d4e393b7c31d78cb7f29aa1 (diff) | |
download | emacs-f92ac2e82ed199d6f25d2a59508e08addb1150ac.tar.gz |
Merge branch 'master' into cairo
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index c41bb4645a5..d7340ba797e 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -579,9 +579,9 @@ xg_check_special_colors (struct frame *f, gtk_style_context_get_background_color (gsty, state, &col); sprintf (buf, "rgb:%04x/%04x/%04x", - (int)(col.red * 65535), - (int)(col.green * 65535), - (int)(col.blue * 65535)); + (unsigned) (col.red * 65535), + (unsigned) (col.green * 65535), + (unsigned) (col.blue * 65535)); success_p = (XParseColor (FRAME_X_DISPLAY (f), FRAME_X_COLORMAP (f), buf, color) != 0); |