Skip to content

Commit 93b1bc0

Browse files
committed
fix warning
1 parent 3a99238 commit 93b1bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_dblib/dblib_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ zend_string *dblib_handle_last_id(pdo_dbh_t *dbh, const zend_string *name)
269269
len = dbconvert(NULL, (dbcoltype(H->link, 1)) , (dbdata(H->link, 1)) , (dbdatlen(H->link, 1)), SQLCHAR, (BYTE *)id, (DBINT)-1);
270270
dbcancel(H->link);
271271

272-
return zend_string_init(id, len, 0);
272+
return zend_string_init((const char *) id, len, 0);
273273
}
274274

275275
static bool dblib_set_attr(pdo_dbh_t *dbh, zend_long attr, zval *val)

0 commit comments

Comments
 (0)