1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:40:22 -07:00

6c: byte* - byte* should be int64, not int32.

R=ken
OCL=24507
CL=24507
This commit is contained in:
Russ Cox 2009-02-05 19:09:04 -08:00
parent 77ccfb090c
commit 5e5476c2fe

View File

@ -722,7 +722,7 @@ arith(Node *n, int f)
if(w < 1 || n->left->type->link == T || n->left->type->link->width < 1) if(w < 1 || n->left->type->link == T || n->left->type->link->width < 1)
goto bad; goto bad;
n->type = types[ewidth[TIND] <= ewidth[TLONG]? TLONG: TVLONG]; n->type = types[ewidth[TIND] <= ewidth[TLONG]? TLONG: TVLONG];
if(1 && ewidth[TIND] > ewidth[TLONG]){ if(0 && ewidth[TIND] > ewidth[TLONG]){
n1 = new1(OXXX, Z, Z); n1 = new1(OXXX, Z, Z);
*n1 = *n; *n1 = *n;
n->op = OCAST; n->op = OCAST;