1
0
mirror of https://github.com/golang/go synced 2024-11-26 20:21:25 -07:00

cmd/gc: fix build

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
This commit is contained in:
Dave Cheney 2014-04-03 11:34:31 +11:00
parent 7d299d031d
commit 568f50e3fc

View 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)