diff --git a/src/cmd/ld/pcln.c b/src/cmd/ld/pcln.c index 4c2ffa78e1d..17f4f992fcd 100644 --- a/src/cmd/ld/pcln.c +++ b/src/cmd/ld/pcln.c @@ -90,7 +90,7 @@ renumberfiles(Link *ctxt, LSym **files, int nfiles, Pcdata *d) } dv = val - newval; newval = val; - v = (uint32)(dv<<1) ^ (uint32)(int32)(dv>>31); + v = ((uint32)dv<<1) ^ (uint32)(int32)(dv>>31); addvarint(&out, v); // pc delta