diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2005-10-08 09:29:27 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2005-10-08 09:29:27 +0000 |
| commit | 6452fef9396abdb524bf45038eaaed879efaa6ea (patch) | |
| tree | f2c7a0e508776a05f647a5febc614ca5bf488787 /openbox | |
| parent | 1fad2da07f7fed1d640d57a2c7c2f666ebb409c4 (diff) | |
final fixes?
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/prop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/prop.c b/openbox/prop.c index fe21bc44..d843e69d 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -206,7 +206,7 @@ static gboolean get_prealloc(Window win, Atom prop, Atom type, gint size, data[i] = xdata[i]; break; case 16: - ((gushort*)data)[i] = ((gushort*)xdata)[i]; + ((guint16*)data)[i] = ((gushort*)xdata)[i]; break; case 32: ((guint32*)data)[i] = ((gulong*)xdata)[i]; @@ -245,7 +245,7 @@ static gboolean get_all(Window win, Atom prop, Atom type, gint size, (*data)[i] = xdata[i]; break; case 16: - ((gushort*)*data)[i] = ((gushort*)xdata)[i]; + ((guint16*)*data)[i] = ((gushort*)xdata)[i]; break; case 32: ((guint32*)*data)[i] = ((gulong*)xdata)[i]; |
