aboutsummaryrefslogtreecommitdiff
path: root/src/stable/string.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2021-08-18 22:11:41 -0700
committerMike Buland <eichlan@xagasoft.com>2021-08-18 22:11:41 -0700
commit345926296f748db5ff283ce69c0ed4d563fcc8ff (patch)
tree3aa50962107cb903bbf30bb2540c19d25bda5adf /src/stable/string.cpp
parent52833d24ba86c3e0fe90a12d65f6dc529e9280b7 (diff)
downloadlibbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.gz
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.bz2
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.xz
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.zip
Updating issues discovered using g++ 10
Diffstat (limited to 'src/stable/string.cpp')
-rw-r--r--src/stable/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stable/string.cpp b/src/stable/string.cpp
index 59d8147..ed4e58b 100644
--- a/src/stable/string.cpp
+++ b/src/stable/string.cpp
@@ -1486,13 +1486,13 @@ int32_t &Bu::operator<<( int32_t &dst, const Bu::String &sIn )
1486 1486
1487uint64_t &Bu::operator<<( uint64_t &dst, const Bu::String &sIn ) 1487uint64_t &Bu::operator<<( uint64_t &dst, const Bu::String &sIn )
1488{ 1488{
1489 sscanf( sIn.getStr(), "%llu", &dst ); 1489 sscanf( sIn.getStr(), "%lu", &dst );
1490 return dst; 1490 return dst;
1491} 1491}
1492 1492
1493int64_t &Bu::operator<<( int64_t &dst, const Bu::String &sIn ) 1493int64_t &Bu::operator<<( int64_t &dst, const Bu::String &sIn )
1494{ 1494{
1495 sscanf( sIn.getStr(), "%lld", &dst ); 1495 sscanf( sIn.getStr(), "%ld", &dst );
1496 return dst; 1496 return dst;
1497} 1497}
1498 1498