aboutsummaryrefslogtreecommitdiff
path: root/src/binlogsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/binlogsel.c')
-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.