Skip to content

Unable to convert variable to GMP - wrong type #5

@dawinaj

Description

@dawinaj

Hello,
I can run the library on Win7 x64 without any problems, but after uploading to the server, it stars to throw

Unable to convert variable to GMP - wrong type

I located the problem, following change fixed it:
DataHandler.php line 169
$firstHalf = ($long & 0xFFFFFFFF00000000) >> 32;
to
$firstHalf = $long >> 32;
(At least it doesn't throw, didn't check if the result is the same, but it really should)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions