]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: fix print format
authorRuss Cox <rsc@golang.org>
Tue, 7 Oct 2014 16:03:48 +0000 (12:03 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 7 Oct 2014 16:03:48 +0000 (12:03 -0400)
Fixes 386 build.

TBR=r
CC=golang-codereviews
https://golang.org/cl/149620043

src/cmd/gc/reflect.c

index d0ebf6b481cbf6e6c1fc1d9629642bbfbba2cdaf..b2ff2fbc5efa012a9f61868ea7b06b9f24600371 100644 (file)
@@ -809,7 +809,7 @@ dcommontype(Sym *s, int ot, Type *t)
                for(i=0; i<8; i++)
                        x1 = x1<<8 | gcmask[i];
                if(widthptr == 4) {
-                       p = smprint("gcbits.%#016x", x1);
+                       p = smprint("gcbits.%#016llux", x1);
                } else {
                        x2 = 0;
                        for(i=0; i<8; i++)