summary refs log tree commit diff
path: root/lisc/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/parse.c')
-rw-r--r--lisc/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index 024eced..3de8e5e 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -881,7 +881,7 @@ printref(Ref r, Fn *fn, FILE *f)
 		fprintf(f, "S%d", r.val);
 		break;
 	case RACall:
-		fprintf(f, "%x", r.val & AMask);
+		fprintf(f, "%03x", r.val & AMask);
 		break;
 	case RAType:
 		fprintf(f, ":%s", typ[r.val & AMask].name);