Use stoul instead of atoi
This commit is contained in:
parent
2c27b4fd6e
commit
cc3bde3bba
@ -82,7 +82,7 @@ namespace workshop
|
||||
utils::string::copy(item.description, doc["Description"].GetString());
|
||||
utils::string::copy(item.folderName, doc["FolderName"].GetString());
|
||||
utils::string::copy(item.publisherId, doc["PublisherID"].GetString());
|
||||
item.publisherIdInteger = atoi(item.publisherId);
|
||||
item.publisherIdInteger = std::stoul(item.publisherId);
|
||||
}
|
||||
|
||||
void load_usermap_content_stub(void* usermapsCount, int type)
|
||||
|
Loading…
Reference in New Issue
Block a user