]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: fix build
authorDave Cheney <dave@cheney.net>
Thu, 3 Apr 2014 00:34:31 +0000 (11:34 +1100)
committerDave Cheney <dave@cheney.net>
Thu, 3 Apr 2014 00:34:31 +0000 (11:34 +1100)
Darwin 10.6 (gcc 4.2) and some older versions of gcc default to C90 mode, not C99 mode. Silence the warning.

LGTM=aram, iant
R=golang-codereviews, aram, iant
CC=golang-codereviews
https://golang.org/cl/83090050

src/cmd/gc/plive.c

index 83bd0fc49d517ecbad60432babfcee4543c83ce0..d68ed15e20fd7d9b560b956ff1acd570f39cd168 100644 (file)
@@ -1633,8 +1633,8 @@ livenessepilogue(Liveness *lv)
 }
 
 // FNV-1 hash function constants.
-#define H0 2166136261
-#define Hp 16777619
+#define H0 2166136261UL
+#define Hp 16777619UL
 
 static uint32
 hashbitmap(uint32 h, Bvec *bv)