about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-10 17:53:03 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-10 17:53:03 +0200
commit732ccf39171459e54a72660368ad2f5da1923a7e (patch)
tree594df52e3b14189623addfcaa88fb440e96347ce
parentAdded savefloats patch [Patch] (diff)
downloaddwm-732ccf39171459e54a72660368ad2f5da1923a7e.tar.gz
dwm-732ccf39171459e54a72660368ad2f5da1923a7e.tar.bz2
dwm-732ccf39171459e54a72660368ad2f5da1923a7e.zip
Fixed a warning in the compilation [Not Important]
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 52d36d3..e6686fc 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1896,7 +1896,7 @@ void
 updatecurrentdesktop(void){
   long rawdata[] = { selmon->tagset[selmon->seltags] };
   int i=0;
-  while(*rawdata >> i+1){
+  while(*rawdata >> (i+1)){
 	   i++;
   }
   long data[] = { i };