Skip to content

uint64 numbers are cast to uint on Windows #119

Description

@pachanga

Hi!

I use msgpack 2.0.2 with PHP 7.1 on a Windows box and experience data slicing for uint64 numbers, e.g:

php -r "var_dump(msgpack_unpack(msgpack_pack(array(5214106352))));"
array(1) {
  [0]=>
  float(919139056)
}

At the same time on a MacOS it works just fine in a similar environment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions