summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/SysConf.cpp
diff options
context:
space:
mode:
authorJordan Cristiano <jordan.cristi [AT] gmail.com>2013-11-13 04:03:46 -0500
committerJordan Cristiano <jordan.cristi [AT] gmail.com>2013-11-13 04:03:46 -0500
commitf96e9e1ae43a510c83087efcbfb5fd57cdfe0b38 (patch)
tree2ff9ca309347bcaf9de06f590875cd606a9c21ac /Source/Core/Common/Src/SysConf.cpp
parent038ffea369bbe65a7436c81f6ff7fb12d14ee46d (diff)
warnings and code formatting
Diffstat (limited to 'Source/Core/Common/Src/SysConf.cpp')
-rw-r--r--Source/Core/Common/Src/SysConf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/SysConf.cpp b/Source/Core/Common/Src/SysConf.cpp
index 519765b10d..acfb11b0ed 100644
--- a/Source/Core/Common/Src/SysConf.cpp
+++ b/Source/Core/Common/Src/SysConf.cpp
@@ -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];