Created
April 25, 2016 02:02
-
-
Save yoppi/64325cc83c7a46b377dd80a52cd2b55f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c | |
index ea29f2e..ff971f3 100644 | |
--- a/bin/varnishtest/vtc_http2.c | |
+++ b/bin/varnishtest/vtc_http2.c | |
@@ -1070,10 +1070,10 @@ cmd_var_resolve(struct stream *s, char *spec, char *buf) | |
*/ | |
else if (!strcmp(spec, "stream.window")) { | |
if (s->id) { | |
- snprintf(buf, 20, "%ld", s->ws); | |
+ snprintf(buf, 20, "%lld", s->ws); | |
return (buf); | |
} else { | |
- snprintf(buf, 20, "%ld", s->hp->ws); | |
+ snprintf(buf, 20, "%lld", s->hp->ws); | |
return (buf); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment