Browse Source

Fixed warning.

Бранимир Караџић 1 year ago
parent
commit
0ec634e8fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/thread.cpp

+ 1 - 1
src/thread.cpp

@@ -134,7 +134,7 @@ namespace bx
 
 		if (NULL != _name)
 		{
-			BX_WARN(strLen(_name) < BX_COUNTOF(m_name)-1, "Truncating thread name.");
+			BX_WARN(strLen(_name) < int32_t(BX_COUNTOF(m_name) )-1, "Truncating thread name.");
 			strCopy(m_name, BX_COUNTOF(m_name), _name);
 		}
 		else