All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: Project Hail List <hail-devel@vger.kernel.org>
Subject: [Patch] tabled: fix build warnings
Date: Tue, 29 Sep 2009 16:04:02 -0600	[thread overview]
Message-ID: <20090929160402.23467aec@redhat.com> (raw)

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;

             reply	other threads:[~2009-09-29 22:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-29 22:04 Pete Zaitcev [this message]
2009-09-30 22:40 ` [Patch] tabled: fix build warnings Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090929160402.23467aec@redhat.com \
    --to=zaitcev@redhat.com \
    --cc=hail-devel@vger.kernel.org \
    --cc=jeff@garzik.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.