From: green Date: Mon, 20 Oct 2003 14:05:59 +0000 (+0000) Subject: This patch fixes various issues with too long constants not fitting 32 bits, X-Git-Tag: v1_7_0_51~2^7~378 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b38ddd9d933aa2118af2aeb48677193a935d7853;p=fs%2Flustre-release.git This patch fixes various issues with too long constants not fitting 32 bits, and causing some code to be disabled unexpectedly (#2147) --- diff --git a/lnet/lnet/lib-ni.c b/lnet/lnet/lib-ni.c index aa30329..9e90576 100644 --- a/lnet/lnet/lib-ni.c +++ b/lnet/lnet/lib-ni.c @@ -27,7 +27,7 @@ #include #include -#define MAX_DIST 18446744073709551615UL +#define MAX_DIST 18446744073709551615ULL int do_PtlNIDebug(nal_cb_t * nal, void *private, void *v_args, void *v_ret) { diff --git a/lustre/portals/portals/lib-ni.c b/lustre/portals/portals/lib-ni.c index aa30329..9e90576 100644 --- a/lustre/portals/portals/lib-ni.c +++ b/lustre/portals/portals/lib-ni.c @@ -27,7 +27,7 @@ #include #include -#define MAX_DIST 18446744073709551615UL +#define MAX_DIST 18446744073709551615ULL int do_PtlNIDebug(nal_cb_t * nal, void *private, void *v_args, void *v_ret) {