Skip to content

Build failed on FreeBSD i386, versions 11.4, 12.2, 13.0, -CURRENT #451

Closed

Description

@osokin

Hi,

I've added RedisJSON to the FreeBSD ports tree and reported about that a couple of weeks ago.
Our build system has found an issue when it builds RedisJSON on i386 platform, doesn't matter what version of the operation system it is:

The build issue is identical on all versions and here it is:
error[E0308]: mismatched types
--> src/c_api.rs:139:29
|
139 | unsafe { *val = json.get_long() };
| ^^^^^^^^^^^^^^^ expected i32, found i64

error: aborting due to previous error

For more information about this error, try rustc --explain E0308.
error: could not compile redisjson

Could you please take a look.
Thanks in advance.

Activity

  1. added a commit that references this issue on Aug 29, 2021
    170e7c7
  2. linked a pull request that will close this issuefix #451 getInt should return long long #454on Aug 30, 2021
  3. gkorland commented on Aug 30, 2021

    @gkorland
    Contributor

    @osokin can you please verify the fix?

  4. osokin commented on Aug 30, 2021

    @osokin
    Author

    @gkorland Thanks for the fix, will update the port and let you know how it goes.

  5. added a commit that references this issue on Oct 18, 2024
    90bc4a0
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