diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-02 21:40:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-02 21:40:00 +0000 |
commit | 29e015fd699ca4ad42353d9b6633054d11a251ec (patch) | |
tree | 7b7f3ef006df5fcbb21cdd5bc635d69f371243bf /wm/aewm++ | |
parent | dd0ea40a7e4c5e7f79cfb6d9855b05304e669314 (diff) | |
download | pkgsrc-29e015fd699ca4ad42353d9b6633054d11a251ec.tar.gz |
Invert a lvalue cast to a rvalue cast.
Diffstat (limited to 'wm/aewm++')
-rw-r--r-- | wm/aewm++/distinfo | 3 | ||||
-rw-r--r-- | wm/aewm++/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
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); + } + } |