From 2ec9a5309fd85edc30aa6793ddfaae8fa33ab697 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 2 Jan 2006 21:40:00 +0000 Subject: Invert a lvalue cast to a rvalue cast. --- wm/aewm++/distinfo | 3 ++- wm/aewm++/patches/patch-ab | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 wm/aewm++/patches/patch-ab diff --git a/wm/aewm++/distinfo b/wm/aewm++/distinfo index ccc1dbff307..3c114c18725 100644 --- a/wm/aewm++/distinfo +++ b/wm/aewm++/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 18:43:53 wiz Exp $ +$NetBSD: distinfo,v 1.4 2006/01/02 21:40:00 joerg Exp $ SHA1 (aewm++-1.0.24.tar.bz2) = 366da85a5edf47e3214c772007aebb2daf7d18d0 RMD160 (aewm++-1.0.24.tar.bz2) = 6e37b29343948f469dcceba90732209b4b7324b9 Size (aewm++-1.0.24.tar.bz2) = 36642 bytes SHA1 (patch-aa) = 9bf23b24a371c6a75c1bc8a6d64688af38f876a3 +SHA1 (patch-ab) = 5f06757bfcd28a21de9476617a36a0973b131e2f diff --git a/wm/aewm++/patches/patch-ab b/wm/aewm++/patches/patch-ab new file mode 100644 index 00000000000..c83288ee5dc --- /dev/null +++ b/wm/aewm++/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2006/01/02 21:40:00 joerg Exp $ + +--- windowmanager.cc.orig 2006-01-02 21:33:19.000000000 +0000 ++++ windowmanager.cc +@@ -625,7 +625,7 @@ void WindowManager::handleKeyPressEvent( + { + if( (unsigned)current_desktop != ks - XK_1 ) + { +- (unsigned)current_desktop = ks - XK_1; ++ current_desktop = (int)(ks - XK_1); + goToDesktop(current_desktop); + } + } -- cgit v1.2.3