summaryrefslogtreecommitdiff
path: root/app/cwm/xutil.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-06-17 13:08:38 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-06-17 13:08:38 +0000
commit2967e7bc1f894d439c20445dada788580188ffff (patch)
treeb8edbcdeda7d8764c6dc719a79525453e44da684 /app/cwm/xutil.c
parent375cd6d408b23dd1cbb88c24eb615b4894e2c955 (diff)
remove unnecessary casts; from Thomas Pfaff
ok oga@
Diffstat (limited to 'app/cwm/xutil.c')
-rw-r--r--app/cwm/xutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/xutil.c b/app/cwm/xutil.c
index 4b03595ff..6bb40bcca 100644
--- a/app/cwm/xutil.c
+++ b/app/cwm/xutil.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.
*
- * $Id: xutil.c,v 1.15 2009/05/17 23:40:57 okan Exp $
+ * $Id: xutil.c,v 1.16 2009/06/17 13:08:37 okan Exp $
*/
#include "headers.h"
@@ -161,8 +161,8 @@ xu_setstate(struct client_ctx *cc, int state)
{
long dat[2];
- dat[0] = (long)state;
- dat[1] = (long)None;
+ dat[0] = state;
+ dat[1] = None;
cc->state = state;
XChangeProperty(X_Dpy, cc->win, WM_STATE, WM_STATE, 32,