Signed-off-by: Pete Zaitcev <[email protected]>
diff --git a/lib/readport.c b/lib/readport.c
index db0c2bc..ca5fcab 100644
--- a/lib/readport.c
+++ b/lib/readport.c
@@ -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;
diff --git a/server/storage.c b/server/storage.c
index 398e64a..6e1c019 100644
--- a/server/storage.c
+++ b/server/storage.c
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html