From 57691160415590c63cf83db6c021e377df9f1de4 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 29 Apr 2013 00:56:47 +0000 Subject: use an int in screen_init and avoid needing to cast for screen number (which). --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 601d60e..b63367a 100644 --- a/screen.c +++ b/screen.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.46 2013/04/12 14:46:30 okan Exp $ + * $OpenBSD: screen.c,v 1.47 2013/04/29 00:56:48 okan Exp $ */ #include @@ -31,7 +31,7 @@ #include "calmwm.h" void -screen_init(u_int which) +screen_init(int which) { struct screen_ctx *sc; Window *wins, w0, w1; -- cgit v1.2.3-2-gb3c3