diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 23:36:30 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 23:36:30 -0600 |
commit | 2695b63fbe6c6a2206a2637137c6cd654f69943a (patch) | |
tree | 717008efdac9ae66bf33985dc99ee68aea45bf11 /pith/mailindx.c | |
parent | 36b77661542a63c4579943951d143c8cc9c99460 (diff) | |
download | alpine-2695b63fbe6c6a2206a2637137c6cd654f69943a.tar.xz |
* Clear even more warnings from clang 3.5 and MAC OSX.
Diffstat (limited to 'pith/mailindx.c')
-rw-r--r-- | pith/mailindx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pith/mailindx.c b/pith/mailindx.c index a1e889e0..586e0d81 100644 --- a/pith/mailindx.c +++ b/pith/mailindx.c @@ -6142,7 +6142,7 @@ from_str(IndexColType ctype, INDEXDATA_S *idata, char *str, size_t strsize, ICE_ if(ctype == iFromTo && (newsgroups = fetch_newsgroups(idata)) && *newsgroups){ - snprintf(fptr, strsize, "To: %-*.*s", strsize-1-4, strsize-1-4, + snprintf(fptr, strsize, "To: %-*.*s", (int)(strsize-1-4), (int)(strsize-1-4), newsgroups); break; } @@ -6174,9 +6174,9 @@ from_str(IndexColType ctype, INDEXDATA_S *idata, char *str, size_t strsize, ICE_ len = strlen(mb); if(!at || strsize-1 <= len) - snprintf(fptr, strsize, "%-*.*s", strsize-1, strsize-1, mb); + snprintf(fptr, strsize, "%-*.*s", (int)(strsize-1), (int)(strsize-1), mb); else - snprintf(fptr, strsize, "%s@%-*.*s", mb, strsize-1-len-1, strsize-1-len-1, hst); + snprintf(fptr, strsize, "%s@%-*.*s", mb, (int)(strsize-1-len-1), (int)(strsize-1-len-1), hst); } break; |