Skip to content
  • Karel Kočí's avatar
    6c8f36f4
    libshvcp: fix the unpack of big negative integers and date and time · 6c8f36f4
    Karel Kočí authored
    There are two issues fixed in this commit.
    
    The primary one is that big negative integers were invalidly masked
    because mask was deduced only fron long and not from uintmax_t.
    
    The secondary issue is that date and time must use division and not
    shifting to the right because date and time is numerical signed integer
    and thus it is aritmetic instead of logical shift.
    6c8f36f4
    libshvcp: fix the unpack of big negative integers and date and time
    Karel Kočí authored
    There are two issues fixed in this commit.
    
    The primary one is that big negative integers were invalidly masked
    because mask was deduced only fron long and not from uintmax_t.
    
    The secondary issue is that date and time must use division and not
    shifting to the right because date and time is numerical signed integer
    and thus it is aritmetic instead of logical shift.
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading