From b38ddd9d933aa2118af2aeb48677193a935d7853 Mon Sep 17 00:00:00 2001 From: green Date: Mon, 20 Oct 2003 14:05:59 +0000 Subject: [PATCH] This patch fixes various issues with too long constants not fitting 32 bits, and causing some code to be disabled unexpectedly (#2147) --- lnet/lnet/lib-ni.c | 2 +- lustre/portals/portals/lib-ni.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- 1.8.3.1