summaryrefslogtreecommitdiffabout
path: root/src/binlogsel.c
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-15 17:36:11 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-10-15 17:36:11 (GMT)
commit2afd00cc2bdbaa401edc7117965b3db658576719 (patch) (side-by-side diff)
tree8cfa0a8bc1059ebef7babde9466fe146abe2ee94 /src/binlogsel.c
parent7d0beb6599c53544739409ca4aec104bf27a3f35 (diff)
downloadvmod-binlog-2afd00cc2bdbaa401edc7117965b3db658576719.tar.gz
vmod-binlog-2afd00cc2bdbaa401edc7117965b3db658576719.tar.bz2
Fix compiler warnings.
Diffstat (limited to 'src/binlogsel.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/binlogsel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/binlogsel.c b/src/binlogsel.c
index b05b12c..e095347 100644
--- a/src/binlogsel.c
+++ b/src/binlogsel.c
@@ -178,7 +178,8 @@ selmem(const char *name, void *base)
if (verbose_option)
printf("# %s; format=%s; recsize=%lu; recnum=%lu\n",
- name, dataspec, hdr->recsize, hdr->recnum);
+ name, dataspec, (unsigned long) hdr->recsize,
+ (unsigned long) hdr->recnum);
inst = packcomp(dataspec, &p);
if (!inst) {
@@ -387,7 +388,6 @@ void
selidx_day(const char *dir)
{
int from_day, to_day;
- struct tm *tm;
glob_t gl;
int glinit = 0;
char *dirbuf;
@@ -438,7 +438,6 @@ void
selidx_month(const char *dir)
{
int from_month, to_month;
- struct tm *tm;
glob_t gl;
int glinit = 0;
char *dirbuf;
@@ -489,7 +488,6 @@ void
selidx_year(const char *dir)
{
int from_year, to_year;
- struct tm *tm;
glob_t gl;
int glinit = 0;
char *dirbuf;

Return to:

Send suggestions and report system problems to the System administrator.