Skip to content

Commit

Permalink
WIP misc: more 64-on-32 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
elliefm committed Apr 29, 2024
1 parent 537c41d commit f7c0a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imap/jmap_backup.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ static int restore_collection_cb(const mbentry_t *mbentry, void *rock)
if ((rrock->jrestore->mode & UNDO_ALL) &&
rrock->jrestore->cutoff < rrock->mailbox->i.changes_epoch) {
syslog(log_level,
"skipping '%s': cutoff (%ld) prior to mailbox history (" TIME_T_FMT")",
"skipping '%s': cutoff (" TIME_T_FMT ") prior to mailbox history (" TIME_T_FMT")",
mailbox_name(rrock->mailbox), rrock->jrestore->cutoff,
rrock->mailbox->i.changes_epoch);

Expand Down
2 changes: 1 addition & 1 deletion imap/mbtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static int do_timestamp(const mbname_t *mbname)
while ((msg = mailbox_iter_step(iter))) {
const struct index_record *record = msg_record(msg);
/* 1 day is close enough */
if (labs(record->internaldate - record->gmtime) < 86400)
if (llabs(record->internaldate - record->gmtime) < 86400)
continue;

struct index_record copyrecord = *record;
Expand Down

0 comments on commit f7c0a2b

Please sign in to comment.