Whamcloud - gitweb
This patch fixes various issues with too long constants not fitting 32 bits,
authorgreen <green>
Mon, 20 Oct 2003 14:05:59 +0000 (14:05 +0000)
committergreen <green>
Mon, 20 Oct 2003 14:05:59 +0000 (14:05 +0000)
and causing some code to be disabled unexpectedly (#2147)

lnet/lnet/lib-ni.c
lustre/portals/portals/lib-ni.c

index aa30329..9e90576 100644 (file)
@@ -27,7 +27,7 @@
 #include <portals/lib-p30.h>
 #include <portals/arg-blocks.h>
 
-#define MAX_DIST 18446744073709551615UL
+#define MAX_DIST 18446744073709551615ULL
 
 int do_PtlNIDebug(nal_cb_t * nal, void *private, void *v_args, void *v_ret)
 {
index aa30329..9e90576 100644 (file)
@@ -27,7 +27,7 @@
 #include <portals/lib-p30.h>
 #include <portals/arg-blocks.h>
 
-#define MAX_DIST 18446744073709551615UL
+#define MAX_DIST 18446744073709551615ULL
 
 int do_PtlNIDebug(nal_cb_t * nal, void *private, void *v_args, void *v_ret)
 {