pPixmap = (PixmapPtr)xalloc(sizeof(PixmapRec) + pixDataSize);
pPixmap = xalloc(sizeof(PixmapRec) + (unsigned)pixDataSize);
AllocatePixmap(pScreen, pixDataSize)    ScreenPtr pScreen;    int pixDataSize;{    PixmapPtr pPixmap;#ifdef PIXPRIV    char *ptr;    DevUnion *ppriv;    unsigned *sizes;    unsigned size;    int i;    pPixmap = (PixmapPtr)xalloc(pScreen->totalPixmapSize + pixDataSize);    if (!pPixmap)	return NullPixmap;    ppriv = (DevUnion *)(pPixmap + 1);    pPixmap->devPrivates = ppriv;    sizes = pScreen->PixmapPrivateSizes;    ptr = (char *)(ppriv + pScreen->PixmapPrivateLen);    for (i = pScreen->PixmapPrivateLen; --i >= 0; ppriv++, sizes++)    {        if ((size = *sizes) != 0)        {	    ppriv->ptr = (pointer)ptr;	    ptr += size;        }        else	    ppriv->ptr = (pointer)NULL;    }#else    pPixmap = (PixmapPtr)xalloc(sizeof(PixmapRec) + pixDataSize);#endif    return pPixmap;}