Browse Source

minor fix

Nicolas Cannasse 14 years ago
parent
commit
94e0f46d8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/php/_std/sys/db/Mysql.hx

+ 1 - 1
std/php/_std/sys/db/Mysql.hx

@@ -137,7 +137,7 @@ private class MysqlResultSet implements ResultSet {
 			case "datetime", "date":
 			case "datetime", "date":
 				return Date.fromString(v);
 				return Date.fromString(v);
 			case "blob":
 			case "blob":
-				return haxe.io.Bytes.ofData(v);
+				return haxe.io.Bytes.ofData(cast v);
 			default:
 			default:
 				return v;
 				return v;
 		}
 		}