From: albert <> Date: Fri, 30 May 2003 03:13:32 +0000 (+0000) Subject: label-to-label offset exceeds 2 GB ??? X-Git-Tag: v3.3.0~244 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=044e7004c4d520c7028aa61ee848938e813d9556;p=procps-ng label-to-label offset exceeds 2 GB ??? --- diff --git a/proc/readproc.c b/proc/readproc.c index 2c6162fa..52f60024 100644 --- a/proc/readproc.c +++ b/proc/readproc.c @@ -99,7 +99,7 @@ typedef struct status_table_struct { } status_table_struct; #ifdef LABEL_OFFSET -#define F(x) {#x, sizeof(#x)-1, (int)(&&case_##x-&&base)}, +#define F(x) {#x, sizeof(#x)-1, (long)(&&case_##x-&&base)}, #else #define F(x) {#x, sizeof(#x)-1, &&case_##x}, #endif