]> granicus.if.org Git - curl/commit
mprintf: avoid unsigned integer overflow warning
authorTim Rühsen <tim.ruehsen@gmx.de>
Sun, 28 Oct 2018 10:33:27 +0000 (11:33 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 2 Nov 2018 10:07:04 +0000 (11:07 +0100)
commite4f2a5bc1b6146f96a8a5778a13ab3d0c6071040
tree9d6ae7c179884ad0109f6c95b359cd4a9c41f236
parent2c5ec339ea67f43ac370ae77636a0f915cc5fbeb
mprintf: avoid unsigned integer overflow warning

The overflow has no real world impact.
Just avoid it for "best practice".

Code change suggested by "The Infinnovation Team" and Daniel Stenberg.
Closes #3184
lib/mprintf.c