git: 9front

Download patch

ref: 388f0f7105bebe8995572f65b594aeca19ffaebe
parent: 412ca7aaee47c049210bff81cbc35a2a9733cc17
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Oct 6 01:20:00 EDT 2015

cc: TUSHORT -> TRUNE for lstring constats for OUSED

--- a/sys/src/cmd/cc/dcl.c
+++ b/sys/src/cmd/cc/dcl.c
@@ -232,7 +232,7 @@
 			a->cstring++;
 		}
 		if(a->op == OLSTRING) {
-			b->vconst = convvtox(*a->rstring, TUSHORT);
+			b->vconst = convvtox(*a->rstring, TRUNE);
 			a->rstring++;
 		}
 		a->type->width -= b->type->width;
--