1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Fixed indendation

This commit is contained in:
Mordred 2017-09-15 11:04:42 +02:00 committed by GitHub
parent 4989f37eca
commit 1b6b91490a

View file

@ -34,24 +34,24 @@ namespace Db {
return static_cast< T >( atol( m_pValue ) ); return static_cast< T >( atol( m_pValue ) );
} }
uint64_t getUInt64() uint64_t getUInt64()
{
if( m_pValue )
{ {
if( m_pValue ) #ifdef _WIN32
{ uint64_t value;
#ifdef _WIN32 sscanf( m_pValue, "%I64d", &value );
uint64_t value; return value;
sscanf( m_pValue, "%I64d", &value ); #else
return value; uint64_t value;
#else sscanf( m_pValue, "%Lu", &value );
uint64_t value; return value;
sscanf( m_pValue, "%Lu", &value );
return value;
#endif #endif
} }
else else
return 0; return 0;
} }
uint32_t getLength() const; uint32_t getLength() const;