return false;
}
- if( len > sizeof( m_buffer ) - 1 )
+ if( len > static_cast<int>(sizeof( m_buffer )) - 1 )
{
L.log( m_myname + " list: Unable to convert zone id to string - insufficient buffer space", Logger::Error );
return false;
throw( DBException( "Error: Libc error" ) );
}
- if( len > sizeof( m_buffer ) - 1 )
+ if( len > static_cast<int>(sizeof( m_buffer )) - 1 )
{
L.log( m_myname + " lookup: Unable to convert zone id to string - insufficient buffer space", Logger::Error );
throw( DBException( "Error: Libc error" ) );
throw( DBException( "Error: Libc error" ) );
}
- if( len > sizeof( m_buffer ) - 1 )
+ if( len > static_cast<int>(sizeof( m_buffer )) - 1 )
{
L.log( m_myname + " setFresh: Unable to insert values into statement '" + getArg( "sql-update-lastcheck" ) + "' - insufficient buffer space", Logger::Error );
throw( DBException( "Error: Libc error" ) );
throw( DBException( "Error: Libc error" ) );
}
- if( len > sizeof( m_buffer ) - 1 )
+ if( len > static_cast<int>(sizeof( m_buffer )) - 1 )
{
L.log( m_myname + " setNotified: Unable to insert values into statement '" + getArg( "sql-update-serial" ) + "' - insufficient buffer space", Logger::Error );
throw( DBException( "Error: Libc error" ) );
return false;
}
- if( len > sizeof( m_buffer ) - 1 )
+ if( len > static_cast<int>(sizeof( m_buffer )) - 1 )
{
L.log( m_myname + " createSlaveDomain: Unable to insert values in statement '" + getArg( "sql-insert-slave" ) + "' - insufficient buffer space", Logger::Error );
return false;
return false;
}
- if( len > sizeof( m_buffer ) - 1 )
+ if( len > static_cast<int>(sizeof( m_buffer )) - 1 )
{
L.log( m_myname + " feedRecord: Unable to insert values in statement '" + getArg( "sql-insert-record" ) + "' - insufficient buffer space", Logger::Error );
return false;
return false;
}
- if( len > sizeof( m_buffer ) - 1 )
+ if( len > static_cast<int>(sizeof( m_buffer )) - 1 )
{
L.log( m_myname + " startTransaction: Unable to convert zone id to string - insufficient buffer space", Logger::Error );
return false;