diff lwlib/xlwtabs.c @ 5936:574f0cded429 cygwin

try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author Henry Thompson <ht@markup.co.uk>
date Sun, 13 Dec 2015 13:22:58 +0000
parents 308d34e9f07d
children
line wrap: on
line diff
--- a/lwlib/xlwtabs.c	Sat Dec 12 21:49:31 2015 +0000
+++ b/lwlib/xlwtabs.c	Sun Dec 13 13:22:58 2015 +0000
@@ -1699,7 +1699,7 @@
 	    if (tab->tabs.lbm_depth == 1)
 	      XCopyPlane(dpy, tab->tabs.left_bitmap, win,gc,
 		0,0, tab->tabs.lbm_width, tab->tabs.lbm_height,
-		x+tab->tabs.lbm_x, y+tab->tabs.lbm_y, 1L);
+		x+tab->tabs.lbm_x, y+tab->tabs.lbm_y, E1);
 	    else
 	      XCopyArea(dpy, tab->tabs.left_bitmap, win,gc,
 		0,0, tab->tabs.lbm_width, tab->tabs.lbm_height,
@@ -2482,7 +2482,7 @@
 	{
 	  values.fill_style = FillStippled;
 	  tw->tabs.grey50 =
-	  values.stipple = XmuCreateStippledPixmap(XtScreen(w), 1L, 0L, 1);
+	  values.stipple = XmuCreateStippledPixmap(XtScreen(w), E1, E0, 1);
 
 	  tw->tabs.greyGC =
 	    XtAllocateGC(w, w->core.depth,
@@ -2502,7 +2502,7 @@
 	  tw->tabs.greyGC =
 	    XtAllocateGC(w, w->core.depth,
 #ifdef HAVE_XFT_TABS
-	      0L,
+	      E0,
 #else
 	      GCFont,
 #endif