forked from osmocom/wireshark
Fix compile errors in GTK build
Change-Id: Ib28c63e0ead6950b3b11b7c87adc543f80c070ed Reviewed-on: https://code.wireshark.org/review/18498 Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
5c82f910a6
commit
565f1b13d7
|
@ -1862,7 +1862,7 @@ static int
|
|||
rint (double x)
|
||||
{
|
||||
char *buf;
|
||||
int i = 0
|
||||
int i = 0;
|
||||
int dec,sig;
|
||||
|
||||
buf = _fcvt(x, 0, &dec, &sig);
|
||||
|
|
|
@ -4500,7 +4500,7 @@ static int rint(double x)
|
|||
int dec, sig;
|
||||
|
||||
buf = _fcvt(x, 0, &dec, &sig);
|
||||
ws_strtoi32(buf, NULL. &i);
|
||||
ws_strtoi32(buf, NULL, &i);
|
||||
if (sig == 1) {
|
||||
i = i * -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue