Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc: fix compile warnings on VS2022 #4174

Merged
merged 3 commits into from
Nov 25, 2024
Merged

Misc: fix compile warnings on VS2022 #4174

merged 3 commits into from
Nov 25, 2024

Conversation

nanangizz
Copy link
Member

No description provided.

@nanangizz nanangizz marked this pull request as ready for review November 25, 2024 06:02
@@ -119,7 +119,8 @@ static int server_thread(void *p)
pkt_len = pj_ansi_snprintf(pkt, srv->buf_size,
"HTTP/1.0 200 OK\r\n");
PJ_ASSERT_ON_FAIL(pkt_len>0, {
PJ_PERROR(2, (THIS_FILE, -pkt_len, "Error creating response"));
PJ_LOG(2, (THIS_FILE, "Error creating response, pkt_len=%d",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be %ld, also below.

@nanangizz nanangizz merged commit 1e312bf into master Nov 25, 2024
35 of 36 checks passed
@nanangizz nanangizz deleted the misc-warning-vs2022 branch November 25, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants