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:
stan 2004-01-15 11:36:42 +00:00
parent 0aafd9d30b
commit d4c6ff1db8
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void ConfigItem::ConvertValue() const
if ( !strcmp( type, "boolean" ) ) if ( !strcmp( type, "boolean" ) )
{ {
cfg_type = CFG_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" ) ) else if ( !strcmp( type, "integer" ) )
{ {