mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 00:38:30 -04:00
Changed base of strtol.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@745 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
1 parent
0aafd9d30b
commit
d4c6ff1db8
1 file changed
+1
-1
+1
-1
@@ -49,7 +49,7 @@ void ConfigItem::ConvertValue() const
|
||||
if ( !strcmp( type, "boolean" ) )
|
||||
{
|
||||
cfg_type = CFG_BOOLEAN;
|
||||
cfg_value.boolean_value = (bool)strtol( value, 0, 2 );
|
||||
cfg_value.boolean_value = (bool)strtol( value, 0, 0 );
|
||||
}
|
||||
else if ( !strcmp( type, "integer" ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user