fixed comparison warning

This commit is contained in:
Kjell Hedsröm 2017-09-23 19:16:51 -06:00
parent 93c05406d8
commit 96d6cda239

View File

@ -82,7 +82,7 @@ void LogCapture::capturef(const char *printf_like_message, ...) {
#if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) && !defined(__GNUC__))
auto finished_message_len = _countof(finished_message);
#else
auto finished_message_len = sizeof(finished_message);
int finished_message_len = sizeof(finished_message);
#endif
#endif /* G3_DYNAMIC_MAX_MESSAGE_SIZE*/