From 2d9783e0b938d0e3550fee7efbb3c6b8b5f18462 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Tue, 29 Oct 2013 20:08:08 +0400 Subject: Prefer 'unsigned long' to 'long unsigned int' and 'unsigned long int'. * ftxfont.c (ftxfont_get_gcs): * gtkutil.c (xg_set_widget_bg, xg_set_background_color): * xfaces.c (x_free_colors, x_free_dpy_colors) (x_create_gc, unload_color): * xselect.c (x_property_data_to_lisp): * xsettings.c (parse_settings): * xterm.c (x_copy_color, x_alloc_lighter_color, x_setup_relief_color) (get_bits_and_offset): Adjust definition. * frame.c (XParseGeometry): Adjust locals. * lisp.h (toplevel): Adjust EMACS_UINT type definition. * regex.h (toplevel): Likewise for reg_syntax_t. --- src/gtkutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gtkutil.c') diff --git a/src/gtkutil.c b/src/gtkutil.c index e20d01521f0..9edcc2a6ef4 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -1038,7 +1038,7 @@ xg_win_to_widget (Display *dpy, Window wdesc) /* Set the background of widget W to PIXEL. */ static void -xg_set_widget_bg (struct frame *f, GtkWidget *w, long unsigned int pixel) +xg_set_widget_bg (struct frame *f, GtkWidget *w, unsigned long pixel) { #ifdef HAVE_GTK3 GdkRGBA bg; @@ -1439,7 +1439,7 @@ x_wm_set_size_hint (struct frame *f, long int flags, bool user_position) BG is the pixel value to change to. */ void -xg_set_background_color (struct frame *f, long unsigned int bg) +xg_set_background_color (struct frame *f, unsigned long bg) { if (FRAME_GTK_WIDGET (f)) { -- cgit v1.2.1