You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -955,7 +955,7 @@ static int php_snmp_parse_oid(zval *object, int st, struct objid_query *objid_qu
955
955
if (st&SNMP_CMD_SET) {
956
956
if (Z_TYPE_P(type) ==IS_STRING&&Z_TYPE_P(value) ==IS_STRING) {
957
957
if (Z_STRLEN_P(type) !=1) {
958
-
php_error_docref(NULL, E_WARNING, "Bogus type '%s', should be single char, got %u", Z_STRVAL_P(type), Z_STRLEN_P(type));
958
+
php_error_docref(NULL, E_WARNING, "Bogus type '%s', should be single char, got %zu", Z_STRVAL_P(type), Z_STRLEN_P(type));
959
959
efree(objid_query->vars);
960
960
return FALSE;
961
961
}
@@ -994,7 +994,7 @@ static int php_snmp_parse_oid(zval *object, int st, struct objid_query *objid_qu
994
994
if (idx_type<Z_ARRVAL_P(type)->nNumUsed) {
995
995
convert_to_string_ex(tmp_type);
996
996
if (Z_STRLEN_P(tmp_type) !=1) {
997
-
php_error_docref(NULL, E_WARNING, "'%s': bogus type '%s', should be single char, got %u", Z_STRVAL_P(tmp_oid), Z_STRVAL_P(tmp_type), Z_STRLEN_P(tmp_type));
997
+
php_error_docref(NULL, E_WARNING, "'%s': bogus type '%s', should be single char, got %zu", Z_STRVAL_P(tmp_oid), Z_STRVAL_P(tmp_type), Z_STRLEN_P(tmp_type));
998
998
efree(objid_query->vars);
999
999
return FALSE;
1000
1000
}
@@ -2025,7 +2025,7 @@ static int php_snmp_has_property(zval *object, zval *member, int has_set_exists,
0 commit comments