Change up strcasecmp/strncasecmp to be more C++y

This commit is contained in:
iikorni
2026-08-30 16:40:12 -05:00
parent 7a697986c6
commit da2a9a8fbc
32 changed files with 351 additions and 790 deletions
+2 -2
View File
@@ -977,8 +977,8 @@ void Memory_Init (void *buf, int size)
auto p = common::check_param ("-zone");
if (p.has_value())
{
if (p < com_argc-1)
zonesize = std::atoi (com_argv[p.value()+1]) * 1024;
if (p < common::_argv.size()-1)
zonesize = std::atoi (common::_argv[p.value()+1].c_str()) * 1024;
else
Sys_Error ("Memory_Init: you must specify a size in KB after -zone");
}