diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2018-04-14 22:52:25 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2018-04-14 22:52:25 +0200 |
commit | 5282cfcd546ae098130a8d4471b21f86d7f34583 (patch) | |
tree | 08d1193016b93da757aa7f91b62cd6743e3c6c1b /pop3.c | |
parent | 23e22b54ff9d2051727d4cb31a9d54f0e5afc4eb (diff) | |
download | fetchmail-5282cfcd546ae098130a8d4471b21f86d7f34583.tar.gz fetchmail-5282cfcd546ae098130a8d4471b21f86d7f34583.tar.bz2 fetchmail-5282cfcd546ae098130a8d4471b21f86d7f34583.zip |
Fix GCC8 ?: operator type promotion warning.
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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--; |