Fix segfaults on 32bit arch with --log-level=debug
There were a few improper uses of %ld for 64 bit numbers, as well as some other 32 bit related warnings that I've fixed. Signed-off-by: ktprograms <ktprograms@gmail.com>
This commit is contained in:
@@ -958,7 +958,7 @@ static void win_determine_shadow(session_t *ps, struct managed_win *w) {
|
||||
* things.
|
||||
*/
|
||||
void win_update_prop_shadow(session_t *ps, struct managed_win *w) {
|
||||
long attr_shadow_old = w->prop_shadow;
|
||||
long long attr_shadow_old = w->prop_shadow;
|
||||
|
||||
win_update_prop_shadow_raw(ps, w);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user