diff options
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/format.c b/firmware/common/format.c index 0fa838f511..240dd1ebd5 100644 --- a/firmware/common/format.c +++ b/firmware/common/format.c | |||
@@ -173,7 +173,7 @@ int format( | |||
173 | ch = *fmt++; | 173 | ch = *fmt++; |
174 | switch(ch) { | 174 | switch(ch) { |
175 | case 'd': | 175 | case 'd': |
176 | szval = szsign = va_arg (ap, long); | 176 | szval = szsign = va_arg (ap, ssize_t); |
177 | if (szval < 0) | 177 | if (szval < 0) |
178 | szval = -szval; | 178 | szval = -szval; |
179 | do | 179 | do |