Re: [PATCH xserver 6/7 v2] sync: Convert from "CARD64" to int64_t.

2017-08-24 Thread Alexander E. Patrakov
2017-08-23 22:06 GMT+05:00 Eric Anholt : > diff --git a/include/misc.h b/include/misc.h > index 38af70ff9e89..0feeaebc7c1a 100644 > --- a/include/misc.h > +++ b/include/misc.h > @@ -324,6 +324,31 @@ bswap_32(uint32_t x) > ((x & 0x00FF) << 24)); > } > > +static inline Bool > +chec

[PATCH xserver 6/7 v2] sync: Convert from "CARD64" to int64_t.

2017-08-23 Thread Eric Anholt
The extension was using the name CARD64 to represent 64-bit values, with a #define from CARD64 to XSyncValue, a struct with a pair of 32-bit values representing a signed 64-bit value. This interfered with protocol headers using CARD64 to try to actually store a uint64_t. Now that stdint.h exists,

Re: [PATCH xserver 6/7 v2] sync: Convert from "CARD64" to int64_t.

2017-08-04 Thread Keith Packard
Eric Anholt writes: > The extension was using the name CARD64 to represent 64-bit values, > with a #define from CARD64 to XSyncValue, a struct with a pair of > 32-bit values representing a signed 64-bit value. This interfered > with protocol headers using CARD64 to try to actually store a > uint

[PATCH xserver 6/7 v2] sync: Convert from "CARD64" to int64_t.

2017-08-04 Thread Eric Anholt
The extension was using the name CARD64 to represent 64-bit values, with a #define from CARD64 to XSyncValue, a struct with a pair of 32-bit values representing a signed 64-bit value. This interfered with protocol headers using CARD64 to try to actually store a uint64_t. Now that stdint.h exists,