Skip to content

Commit 4b59480

Browse files
committed
[-Wformat=]
1 parent 45b844b commit 4b59480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

responses/yaf_response_http.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ int yaf_response_http_send(yaf_response_t *response TSRMLS_DC) {
165165
if (zend_hash_get_current_key_ex(Z_ARRVAL_P(zheader), &header_name, &header_name_len, &num_key, 0, &pos) == HASH_KEY_IS_STRING) {
166166
ctr.line_len = spprintf(&(ctr.line), 0, "%s: %s", header_name, Z_STRVAL_PP(entry));
167167
} else {
168-
ctr.line_len = spprintf(&(ctr.line), 0, "%s: %s", num_key, Z_STRVAL_PP(entry));
168+
ctr.line_len = spprintf(&(ctr.line), 0, "%lu: %s", num_key, Z_STRVAL_PP(entry));
169169
}
170170

171171
ctr.response_code = 0;

0 commit comments

Comments
 (0)