The rationale is the same as in commit c7f2a189c48bd4c9eb87958fff66b52e0fdcb7ce
("Fix the call to XChangeProperty() in 64-bit mode"), because we are
calling XChangeProperty() with format 32, which requires the type of
'data' to be 'long'.
---
Please review this!
src/client.c | 2 +-
src/window.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/client.c b/src/client.c
index a39e8e4..9f3a598 100644
--- a/src/client.c
+++ b/src/client.c
@@ -105,7 +105,7 @@ void wClientRestore(WWindow * wwin)
*/
void wClientSetState(WWindow * wwin, int state, Window icon_win)
{
- CARD32 data[2];
+ long data[2];
wwin->state = state;
diff --git a/src/window.c b/src/window.c
index ecb3d03..41dce05 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2302,10 +2302,10 @@ void wWindowConfigureBorders(WWindow *wwin)
void wWindowSaveState(WWindow * wwin)
{
- CARD32 data[10];
+ long data[10];
int i;
- memset(data, 0, sizeof(CARD32) * 10);
+ memset(data, 0, sizeof(long) * 10);
data[0] = wwin->frame->workspace;
data[1] = wwin->flags.miniaturized;
data[2] = wwin->flags.shaded;
--
1.7.0.2.276.g60daf
--
To unsubscribe, send mail to [email protected].