Silencing a compilier warning on windows

This commit is contained in:
Dan Kalowsky 2002-08-14 20:40:48 +00:00
parent f3fc7fe2fd
commit 161e279981

View File

@ -1207,7 +1207,7 @@ PHP_FUNCTION(odbc_data_source)
}
convert_to_long_ex(zv_fetch_type);
fetch_type = Z_LVAL_PP(zv_fetch_type);
fetch_type = (SQLSMALLINT)Z_LVAL_PP(zv_fetch_type);
if (!(fetch_type == SQL_FETCH_FIRST ||
fetch_type == SQL_FETCH_NEXT)) {