From c6ba5d9180552d6828ffd1ff543a01b7360191f0 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 23 May 2022 23:43:21 +0200 Subject: [PATCH] gcoap_fileserver: use uint8_t for szx value --- sys/net/application_layer/gcoap/fileserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/application_layer/gcoap/fileserver.c b/sys/net/application_layer/gcoap/fileserver.c index e4d09fb5e9..03c23c918d 100644 --- a/sys/net/application_layer/gcoap/fileserver.c +++ b/sys/net/application_layer/gcoap/fileserver.c @@ -37,9 +37,9 @@ struct requestdata { /** 0-terminated expanded file name in the VFS */ char namebuf[COAPFILESERVER_PATH_MAX]; uint32_t blocknum2; - unsigned int szx2; /* would prefer uint8_t but that's what coap_get_blockopt gives */ uint32_t etag; bool etag_sent; + uint8_t szx2; }; /**