aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pop3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pop3.c b/pop3.c
index b4800422..fb466902 100644
--- a/pop3.c
+++ b/pop3.c
@@ -914,7 +914,7 @@ static int pop3_slowuidl( int sock, struct query *ctl, int *countp, int *newp)
return ok;
rec = last_uid_in_db(&ctl->oldsaved, id);
- try_nr = rec ? rec->pos : -1;
+ try_nr = rec ? (int)rec->pos : -1;
} else {
try_id = *countp+1;
try_nr = -1;
@@ -939,7 +939,7 @@ static int pop3_slowuidl( int sock, struct query *ctl, int *countp, int *newp)
return ok;
rec = find_uid_by_id(&ctl->oldsaved, id);
- try_nr = rec ? rec->pos : -1;
+ try_nr = rec ? (int)rec->pos : -1;
}
if( try_nr == -1 ) {
try_id--;