Просмотр исходного кода

log: updated GenericLog __attribute__ for newly added parameter

bunnei 12 лет назад
Родитель
Сommit
5cd922d151
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/common/log.h

+ 1 - 1
src/common/log.h

@@ -89,7 +89,7 @@ enum LOG_LEVELS {
 void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type, const char*file, int line, 
     const char* function, const char* fmt, ...)
 #ifdef __GNUC__
-        __attribute__((format(printf, 5, 6)))
+        __attribute__((format(printf, 6, 7)))
 #endif
         ;