shithub: scc

Download patch

ref: 010b200284913f5617b2e91efb96f4a9cc6dd045
parent: 053584154ad3371b91dd9db21da99c0b60d3f037
author: Quentin Rameau <[email protected]>
date: Tue Jan 8 19:35:24 EST 2019

[libmach] Fix typo in lpack

--- a/src/libmach/pack.c
+++ b/src/libmach/pack.c
@@ -20,7 +20,7 @@
 		switch (*fmt++) {
 		case '\'':
 			n = atoi(fmt);
-			while (isdigit(fmt))
+			while (isdigit(*fmt))
 				fmt++;
 			cp = va_arg(va, unsigned char *);
 			while (n--)