Skip to content

Commit 740f270

Browse files
author
nono303
committed
fix incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
1 parent 2076e8a commit 740f270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/curl/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ PHP_FUNCTION(curl_version)
12111211
#endif
12121212
#if LIBCURL_VERSION_NUM >= 0x071001 /* Available since 7.16.1 CURLVERSION_FOURTH */
12131213
if (d->iconv_ver_num) {
1214-
add_assoc_string (&feature_version, "iconv", d->iconv_ver_num);
1214+
add_assoc_long (&feature_version, "iconv", d->iconv_ver_num);
12151215
}
12161216
#endif
12171217
#if LIBCURL_VERSION_NUM >= 0x071001 /* Available since 7.16.1 CURLVERSION_FOURTH */

0 commit comments

Comments
 (0)