[Bug 245200] emulators/emu64 : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: error: narrowing conversion of '-1' from 'int' to 'char' [-Wnarrowing]
| Newsgroups | gmane.os.freebsd.devel.ppc |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245200 Alexey Dokuchaev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #9 from Alexey Dokuchaev <[email protected]> --- (In reply to Justin Hibbits from comment #7) > I've run into this a lot when people set the return value of getopt() > to a char, and compare to -1, leading to an infinite loop. I've seen that as well and always wondered why people cannot read the manpage to learn that getopt(3) returns an int, not signed char. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "[email protected]"