my_ulong_long to unsigned long explicit

This commit is contained in:
Arthur Dene Ice
2014-05-10 14:33:24 -07:00
parent b07d3ee5c6
commit 8a63d64d9e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ public:
~EQDBRes() { finish(); }
//BEGIN PERL EXPORT
unsigned long num_rows() { return (res) ? mysql_num_rows(res) : 0; }
unsigned long num_fields() { return (res) ? mysql_num_fields(res) : 0; }
unsigned long num_rows() { return (res) ? (unsigned long)mysql_num_rows(res) : 0; }
unsigned long num_fields() { return (res) ? (unsigned long)mysql_num_fields(res) : 0; }
void DESTROY() { }
void finish() { if (res) mysql_free_result(res); res=nullptr; };
std::vector<std::string> fetch_row_array();