summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-01-19 14:39:48 -0700
committerMike Buland <eichlan@xagasoft.com>2012-01-19 14:39:48 -0700
commita2aa36ea6ad0cc5b5fb746202883ef0bc18585cb (patch)
treefad1681839eb1e3a483d98bbd37eb8545b00ae49 /src
parent41e136a07ce39ecb1f12a4e119f010bbdc65a1f2 (diff)
downloadstage-a2aa36ea6ad0cc5b5fb746202883ef0bc18585cb.tar.gz
stage-a2aa36ea6ad0cc5b5fb746202883ef0bc18585cb.tar.bz2
stage-a2aa36ea6ad0cc5b5fb746202883ef0bc18585cb.tar.xz
stage-a2aa36ea6ad0cc5b5fb746202883ef0bc18585cb.zip
strtoll not 64 bit on 64 bit?
Diffstat (limited to 'src')
-rw-r--r--src/variable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.cpp b/src/variable.cpp
index 4cbf97d..88ac1bc 100644
--- a/src/variable.cpp
+++ b/src/variable.cpp
@@ -191,7 +191,7 @@ Variable Variable::to( Type e ) const
191 case tNull: break; 191 case tNull: break;
192 case tBool: break; 192 case tBool: break;
193 case tInt: 193 case tInt:
194 return Variable( strtoll(sValue->getStr(), NULL, 10 ) ); 194 return Variable( (int64_t)strtoll(sValue->getStr(), NULL, 10 ) );
195 case tFloat: 195 case tFloat:
196 return Variable( strtod(sValue->getStr(), NULL ) ); 196 return Variable( strtod(sValue->getStr(), NULL ) );
197 case tString: break; 197 case tString: break;