Egbert's 64bit fixes for mixed 32/64bit clients
This commit is contained in:
parent
ebedc8bbb5
commit
fe5abff38e
|
@ -214,11 +214,7 @@ ProcXF86DRIOpenConnection(
|
|||
((rep.busIdStringLength + 3) & ~3)) >> 2;
|
||||
|
||||
rep.hSAREALow = (CARD32)(hSAREA & 0xffffffff);
|
||||
#ifdef LONG64
|
||||
rep.hSAREAHigh = (CARD32)(hSAREA >> 32);
|
||||
#else
|
||||
rep.hSAREAHigh = 0;
|
||||
#endif
|
||||
|
||||
WriteToClient(client, sizeof(xXF86DRIOpenConnectionReply), (char *)&rep);
|
||||
if (rep.busIdStringLength)
|
||||
|
@ -552,11 +548,7 @@ ProcXF86DRIGetDeviceInfo(
|
|||
}
|
||||
|
||||
rep.hFrameBufferLow = (CARD32)(hFrameBuffer & 0xffffffff);
|
||||
#ifdef LONG64
|
||||
rep.hFrameBufferHigh = (CARD32)(hFrameBuffer >> 32);
|
||||
#else
|
||||
rep.hFrameBufferHigh = 0;
|
||||
#endif
|
||||
|
||||
rep.length = 0;
|
||||
if (rep.devPrivateSize) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user