diff options
-rw-r--r-- | src/variable.cpp | 2 |
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; |