From efb1623d98d95c16b65dff8b5bddd14e44e4f626 Mon Sep 17 00:00:00 2001 From: grehan Date: Thu, 3 Feb 2005 02:35:28 +0000 Subject: Fix up assignment of negative number to char. Char's are unsigned by default on PowerPC. Approved by: mdodd --- sys/dev/vx/if_vx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/vx') 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; -- cgit v1.1