GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — int64 and uint64 decode is not supported in 32-bit php? · Issue #33 · msgpack/msgpack-php

int64 and uint64 decode is not supported in 32-bit php? #33

New issue
Copy link
New issue
Copy link
Closed
Closed
int64 and uint64 decode is not supported in 32-bit php?#33
Copy link
Labels
bug

Description

@zhanglisheng
zhanglisheng
opened on Jun 27, 2014
Issue body actions

hi.
I get a problem, in 32-bit php decode int64 is error. I think the problem maybe is here.


int msgpack_unserialize_int64(
    msgpack_unserialize_data *unpack, int64_t data, zval **obj)
{
    ZVAL_LONG(*obj, data);
    return 0;
}

int msgpack_unserialize_int64(
msgpack_unserialize_data _unpack, int64_t data, zval *_obj)
{
if(data > LONG_MAX || data < -LONG_MAX) {
ZVAL_DOUBLE(_obj, (double)data);
} else {
ZVAL_LONG(_obj, data);
}
return 0;
}

Activity

  1. zhanglisheng
    changed the title [-]int64 and uint64 decode is not supported in 32-bit php[/-] [+]int64 and uint64 decode is not supported in 32-bit php?[/+] on Jun 27, 2014
  2. Sean-Der
    added
    bug
    on Jul 28, 2015
  3. m6w6
    added a commit that references this issue on Dec 5, 2019

    fix msgpack#67 msgpack#33 msgpack#119 msgpack#134

    fb746e0
  4. m6w6
    closed this as completedon Dec 18, 2019
  5. m6w6
    added a commit that references this issue on Dec 20, 2019

    release 2.1.0beta1

    0335247
  6. m6w6
    added 2 commits that reference this issue on Feb 28, 2020

    release 2.1.0

    0611f55

    release 2.1.0

    ec63358
  7. m6w6
    added 2 commits that reference this issue on Aug 20, 2024

    release 2.1.0beta1

    c150948

    release 2.1.0

    6994852
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.