Range API needs size_t for .length.

This commit is contained in:
H. S. Teoh 2017-12-12 17:58:12 -08:00
parent 61f0e5ed48
commit 47bacf0456
5 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@ class MySqlResult : ResultSet {
}
override int length() {
override size_t length() {
if(result is null)
return 0;
return cast(int) mysql_num_rows(result);