Poco::UInt32 => std::size_t

This commit is contained in:
Aleksandar Fabijanic 2009-02-16 15:12:03 +00:00
parent 142c248754
commit 0f98824311
2 changed files with 5 additions and 5 deletions

View File

@ -58,10 +58,10 @@ public:
void init(MYSQL_STMT* stmt); void init(MYSQL_STMT* stmt);
/// Initializes the metadata. /// Initializes the metadata.
Poco::UInt32 columnsReturned() const; std::size_t columnsReturned() const;
/// Returns the number of columns in resultset. /// Returns the number of columns in resultset.
const MetaColumn& metaColumn(Poco::UInt32 pos) const; const MetaColumn& metaColumn(std::size_t pos) const;
/// Returns the reference to the specified metacolumn. /// Returns the reference to the specified metacolumn.
MYSQL_BIND* row(); MYSQL_BIND* row();

View File

@ -212,12 +212,12 @@ void ResultMetadata::init(MYSQL_STMT* stmt)
}} }}
} }
Poco::UInt32 ResultMetadata::columnsReturned() const std::size_t ResultMetadata::columnsReturned() const
{ {
return static_cast<Poco::UInt32>(_columns.size()); return static_cast<std::size_t>(_columns.size());
} }
const MetaColumn& ResultMetadata::metaColumn(Poco::UInt32 pos) const const MetaColumn& ResultMetadata::metaColumn(std::size_t pos) const
{ {
return _columns[pos]; return _columns[pos];
} }