Index: src/cmd/8l/span.c |
=================================================================== |
--- a/src/cmd/8l/span.c |
+++ b/src/cmd/8l/span.c |
@@ -89,7 +89,7 @@ |
*bp++ = v; |
*bp++ = v>>8; |
*bp++ = v>>16; |
- *bp++ = v>>24; |
+ *bp = v>>24; |
} |
} |
p->comefrom = P; |
@@ -1319,7 +1319,7 @@ |
andptr = and; |
doasm(p); |
if(andptr > and+sizeof and) { |
- print("and[] is too short - %d byte instruction\n", andptr - and); |
+ print("and[] is too short - %ld byte instruction\n", andptr - and); |
errorexit(); |
} |
} |