[master] ee042fc92 A bit of signed/unsigned FlexeLinting
Poul-Henning Kamp
phk at FreeBSD.org
Tue Apr 23 07:21:09 UTC 2019
commit ee042fc92f11770fa165ff47faa64c1b16640f13
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Apr 23 07:20:01 2019 +0000
A bit of signed/unsigned FlexeLinting
diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index d6d3e9ac2..67aa4a9a5 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -453,7 +453,7 @@ struct req {
volatile enum req_body_state_e req_body_status;
enum sess_close doclose;
int restarts;
- int esi_level;
+ unsigned esi_level;
struct req *topreq; /* esi_level == 0 request */
struct vcl *vcl0;
diff --git a/bin/varnishd/cache/cache_esi_deliver.c b/bin/varnishd/cache/cache_esi_deliver.c
index 8bea0e81d..498aca6f2 100644
--- a/bin/varnishd/cache/cache_esi_deliver.c
+++ b/bin/varnishd/cache/cache_esi_deliver.c
@@ -560,7 +560,7 @@ struct ved_foo {
unsigned magic;
#define VED_FOO_MAGIC 0x6a5a262d
struct ecx *ecx;
- ssize_t start, last, stop, lpad;
+ uint64_t start, last, stop, lpad;
ssize_t ll;
uint64_t olen;
uint8_t dbits[8];
More information about the varnish-commit
mailing list