A tiling window manager

window: Use CARD32 instead of unsigned long, in case it's not

Fixes an -fsanitize=address error (#58)

authored by

joveian and committed by
GitHub
cd420776 5f799eee

+1 -1
+1 -1
window.c
··· 132 132 XRES_CLIENT_ID_PID_MASK) 133 133 continue; 134 134 135 - pid = *(unsigned long *)(results[i].value); 135 + pid = *(CARD32 *)(results[i].value); 136 136 break; 137 137 } 138 138 XFree(results);