mirror of
https://github.com/open-simh/simh.git
synced 2026-01-17 16:54:08 +00:00
Compiler indicated cleanups
This commit is contained in:
parent
2ea8a0a30f
commit
b61e5ae176
@ -1623,7 +1623,7 @@ for (i = 0; i < val; i++)
|
||||
temptabs[i] = 0;
|
||||
do {
|
||||
cptr = get_glyph (cptr, gbuf, ';');
|
||||
d = get_uint (gbuf, 10, val, &r);
|
||||
d = (int32)get_uint (gbuf, 10, val, &r);
|
||||
if ((r != SCPE_OK) || (d == 0)) {
|
||||
free (temptabs);
|
||||
return SCPE_ARG;
|
||||
|
||||
@ -132,6 +132,9 @@
|
||||
*/
|
||||
#if defined(HAVE_PCAP_NETWORK)
|
||||
#define USE_BPF 1
|
||||
#if defined (_WIN32) && !defined (BPF_CONST_STRING)
|
||||
#define BPF_CONST_STRING 1
|
||||
#endif
|
||||
#else
|
||||
#define DONT_USE_PCAP_FINDALLDEVS 1
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user