summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--minic/minic.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/minic/minic.y b/minic/minic.y
index 00351e1..85a5164 100644
--- a/minic/minic.y
+++ b/minic/minic.y
@@ -224,7 +224,7 @@ Scale:
 	if (irtyp(r->ctyp) != 'l')
 		sext(r);
 	sz = SIZE(DREF(l->ctyp));
-	fprintf(of, "\t%%t%d =l mul %d, ", sz, tmp);
+	fprintf(of, "\t%%t%d =l mul %d, ", tmp, sz);
 	psymb(*r);
 	fprintf(of, "\n");
 	r->u.n = tmp++;