tabled: fix build warnings
PATCH 1/1 tabled: fix build warnings
Signed-off-by Pete Zaitcev <[email protected]>
lib/readport.c +1 -1
@@ -1,4 +1,5 @@#include <stdlib.h> +#include <string.h> #include <errno.h> #include <fcntl.h> #include <unistd.h>
@@ -9,7 +10,6 @@*/ int tb_readport (const char *fname,char *buf,size_t len) { -long port;int fd;char *s;int rc;
server/storage.c +1 -1
@@ -120,7 +120,7 @@ int stor_open_read(struct open_chunk *cep, void (*cb)(struct open_chunk *), uint64_t key, uint64_t *psize) { char stckey[STOR_KEY_SLEN+1]; -size_t size; +uint64_t size;if (!cep->stc)return -EINVAL ;
Jeff Garzik
AppliedQuoted 1 line · Pete Zaitcev
Signed-off-by Pete Zaitcev<[email protected]>
applied