mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
warnings and code formatting
This commit is contained in:
parent
038ffea369
commit
f96e9e1ae4
10 changed files with 37 additions and 21 deletions
|
@ -153,7 +153,7 @@ unsigned int create_item(SSysConfEntry &item, SysconfType type, const std::strin
|
|||
{
|
||||
item.offset = offset;
|
||||
item.type = type;
|
||||
item.nameLength = name.length();
|
||||
item.nameLength = (u8)(name.length());
|
||||
strncpy(item.name, name.c_str(), 32);
|
||||
item.dataLength = data_length;
|
||||
item.data = new u8[data_length];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue