mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-03-23 14:19:39 +01:00
Fixed GCC 4.1 compilation
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40277
This commit is contained in:
parent
57d31cfb12
commit
ea40637b37
@ -362,7 +362,7 @@ void *CSmmAPI::VInterfaceMatch(CreateInterfaceFn fn, const char *iface, bool cho
|
||||
char buffer[256]; /* assume no interface will go beyond this */
|
||||
int len = static_cast<int>(strlen(iface));
|
||||
|
||||
if (len > sizeof(buffer) - 4)
|
||||
if (len > static_cast<int>(sizeof(buffer) - 4))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user