> /* protect against bad nglyphs */
> - if (gi < stuff || gi > ((CARD32 *)stuff + client->req_len) ||
> - bits < stuff || bits > ((CARD32 *)stuff + client->req_len)) {
> + if ((void *)gi < (void *)stuff ||
> + (void *)gi > (void *)((CARD32 *)stuff + client->req_len) ||
> + (void *)bits < (void *)stuff ||
> + (void *)bits > (void *)((CARD32 *)stuff + client->req_len)) {I'm not entirely sure if (void *) is an ordered pointer type, or if we should be casting these to (char *) instead? -- [email protected]
pgpcGipt16vSn.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
