Compiler indicated cleanups
This commit is contained in:
parent
2ea8a0a30f
commit
b61e5ae176
2 changed files with 4 additions and 1 deletions
|
@ -1623,7 +1623,7 @@ for (i = 0; i < val; i++)
|
||||||
temptabs[i] = 0;
|
temptabs[i] = 0;
|
||||||
do {
|
do {
|
||||||
cptr = get_glyph (cptr, gbuf, ';');
|
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)) {
|
if ((r != SCPE_OK) || (d == 0)) {
|
||||||
free (temptabs);
|
free (temptabs);
|
||||||
return SCPE_ARG;
|
return SCPE_ARG;
|
||||||
|
|
|
@ -132,6 +132,9 @@
|
||||||
*/
|
*/
|
||||||
#if defined(HAVE_PCAP_NETWORK)
|
#if defined(HAVE_PCAP_NETWORK)
|
||||||
#define USE_BPF 1
|
#define USE_BPF 1
|
||||||
|
#if defined (_WIN32) && !defined (BPF_CONST_STRING)
|
||||||
|
#define BPF_CONST_STRING 1
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define DONT_USE_PCAP_FINDALLDEVS 1
|
#define DONT_USE_PCAP_FINDALLDEVS 1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue