summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2005-02-03 02:35:28 +0000
committergrehan <grehan@FreeBSD.org>2005-02-03 02:35:28 +0000
commitefb1623d98d95c16b65dff8b5bddd14e44e4f626 (patch)
tree379a83840f9f1554a34a444d02a81317cafb9f91 /sys/dev/vx
parent031338d66ea8a274c9d6366e527d15de505dd011 (diff)
downloadFreeBSD-src-efb1623d98d95c16b65dff8b5bddd14e44e4f626.zip
FreeBSD-src-efb1623d98d95c16b65dff8b5bddd14e44e4f626.tar.gz
Fix up assignment of negative number to char. Char's are unsigned by
default on PowerPC. Approved by: mdodd
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index 5b049bf..9fd6f51 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -295,7 +295,7 @@ vxsetlink(struct vx_softc *sc)
int i, j, k;
char *reason, *warning;
static int prev_flags;
- static char prev_conn = -1;
+ static signed char prev_conn = -1;
if (prev_conn == -1)
prev_conn = sc->vx_connector;
OpenPOWER on IntegriCloud