From 88bd2d387fbb068339b65506331136085082def6 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Tue, 31 Mar 2009 00:01:48 +0200 Subject: libXmu: check for LONG64, not LONG_64 The latter isn't defined anywhere, so editres hasn't been able to read a pointer on 64bit since about 10 years. Admittedly, this should be using stdint types, but... Debian bug#521887 Reported-by: Samuel Thibault Signed-off-by: Julien Cristau --- src/EditresCom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/EditresCom.c b/src/EditresCom.c index 28e1be3..51ac248 100644 --- a/src/EditresCom.c +++ b/src/EditresCom.c @@ -2123,7 +2123,7 @@ _XEditresGetStringValues(Widget w, Arg *warg, int numargs) /* try to get the value in the proper size */ switch (res->resource_size) { -#ifdef LONG_64 +#ifdef LONG64 long v8; #endif int v4; @@ -2145,7 +2145,7 @@ _XEditresGetStringValues(Widget w, Arg *warg, int numargs) XtGetValues(w, args, 1); value = (int)v4; break; -#ifdef LONG_64 +#ifdef LONG64 case 8: XtSetArg(args[0], res->resource_name, &v8); XtGetValues(w, args, 1); @@ -2197,7 +2197,7 @@ _XEditresGetStringValues(Widget w, Arg *warg, int numargs) case sizeof(int): XmuSnprintf(buffer, sizeof(buffer), "0x%08x", (int)value); break; -#ifdef LONG_64 +#ifdef LONG64 case sizeof(long): XmuSnprintf(buffer, sizeof(buffer), "0x%016lx", value); break; -- cgit v1.2.1