* [Patch] tabled: fix build warnings
@ 2009-09-29 22:04 Pete Zaitcev
2009-09-30 22:40 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Pete Zaitcev @ 2009-09-29 22:04 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Project Hail List
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Patch] tabled: fix build warnings
2009-09-29 22:04 [Patch] tabled: fix build warnings Pete Zaitcev
@ 2009-09-30 22:40 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2009-09-30 22:40 UTC (permalink / raw)
To: Pete Zaitcev; +Cc: Project Hail List
On 09/29/2009 06:04 PM, Pete Zaitcev wrote:
> Signed-off-by: Pete Zaitcev<zaitcev@redhat.com>
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-30 22:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-29 22:04 [Patch] tabled: fix build warnings Pete Zaitcev
2009-09-30 22:40 ` Jeff Garzik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.