sudo frontend: silence most -Wconversion warnings.
This commit is contained in:
@@ -199,7 +199,7 @@ sudo_conversation_printf(int msg_type, const char *fmt, ...)
|
||||
len = vfprintf(ttyfp ? ttyfp : fp, fmt, ap);
|
||||
va_end(ap);
|
||||
if (len >= 0 && crnl != NULL) {
|
||||
len += fwrite(crnl, 1, 2, ttyfp ? ttyfp : fp);
|
||||
len += (int)fwrite(crnl, 1, 2, ttyfp ? ttyfp : fp);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user