aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga2009-12-11 17:57:38 +0000
committeroga2009-12-11 17:57:38 +0000
commitf73eddcff9e4ed14f03cd8b9afeef54822633ba9 (patch)
tree663c8023086f04c1bc0ed11cbbbbcaf2cc9edf8f
parent4386b73ae6c52a58bde556ef4ba94a7676a53599 (diff)
downloadcwm-f73eddcff9e4ed14f03cd8b9afeef54822633ba9.tar.gz
another int/long fixup that was giving dodgy property values on amd64, shame on
me for not reading xlibs (appauling) documentation more closely. ok okan@
Diffstat (limited to '')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 4e078e7..9c45f63 100644
--- a/screen.c
+++ b/screen.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: screen.c,v 1.21 2009/12/10 23:14:58 oga Exp $
+ * $Id: screen.c,v 1.22 2009/12/11 17:57:38 oga Exp $
*/
#include "headers.h"
@@ -102,7 +102,7 @@ screen_find_xinerama(struct screen_ctx *sc, int x, int y)
void
screen_update_geometry(struct screen_ctx *sc, int width, int height)
{
- int geom[2];
+ long geom[2];
sc->xmax = geom[0] = width;
sc->ymax = geom[1] = height;