• Nathan Bronson's avatar
    uint64_t -> size_t for 32-bit support · fae10d94
    Nathan Bronson authored
    Summary:
    On 64-bit platforms uint64_t and std::size_t are the same
    size, but that is not the case on 32-bit platforms such as arm or x86.
    This diff makes folly/io 32-bit clean, at least to the point that it
    compiles and passes unit tests.  There is no change to behavior on
    64-bit platforms.
    
    Reviewed By: shixiao
    
    Differential Revision: D8559702
    
    fbshipit-source-id: c61a5d3d0e327f36cdf9a606a48a256943efc098
    fae10d94
EventBase.cpp 23.7 KB