Skip to content

Commit

Permalink
CompositorBufferType: EventFrame should be 64bit also on 32bit
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis committed Jan 15, 2024
1 parent e7d02e0 commit ef388ba
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,7 @@ namespace Compositor {
template <const uint8_t PLANES>
class CompositorBufferType : public Exchange::ICompositionBuffer, public Core::IResource {
private:
// We need to test this on a 32 bit platform. On 64 bits platforms we do need
// the data to be written into the eventfd to be 64 bits otherwise it does not
// respond!
#if defined(__SIZEOF_POINTER__) && (__SIZEOF_POINTER__ == 8)
using EventFrame = uint64_t;
#else
using EventFrame = uint32_t;
#endif

// We need some shared space for data to exchange, and to create a lock..
class SharedStorage {
Expand Down

0 comments on commit ef388ba

Please sign in to comment.