From b6aadb8490bdacf33196fa0898fe1247b9a8ee2c Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 22 Jul 2013 14:47:25 +0200 Subject: libX11 mesa git update 22 Jul 2013 libX11 commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 mesa commit 190312949e8ce2c1dc884d4db5d6a44511666641 --- libX11/src/FontNames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libX11/src/FontNames.c') diff --git a/libX11/src/FontNames.c b/libX11/src/FontNames.c index b5bc7b4ba..764711559 100644 --- a/libX11/src/FontNames.c +++ b/libX11/src/FontNames.c @@ -66,7 +66,7 @@ int *actualCount) /* RETURN */ if (rep.nFonts) { flist = Xmalloc (rep.nFonts * sizeof(char *)); - if (rep.length < (LONG_MAX >> 2)) { + if (rep.length < (INT_MAX >> 2)) { rlen = rep.length << 2; ch = Xmalloc(rlen + 1); /* +1 to leave room for last null-terminator */ -- cgit v1.2.3