diff --git a/thermosphere/src/fmt.c b/thermosphere/src/fmt.c index 36c0e9065..f35c676b7 100644 --- a/thermosphere/src/fmt.c +++ b/thermosphere/src/fmt.c @@ -206,7 +206,10 @@ int vsprintf(char *buf, const char *fmt, va_list args) fmt++; integerType = 1; } - + else + { + integerType = sizeof(unsigned long) == 8 ? 1 : 0; + } } else if(*fmt == 'h') {