Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation fails on ppc64le, s390x, aarch64, armv7hl #52

Open
ignatenkobrain opened this issue Sep 11, 2018 · 4 comments
Open

compilation fails on ppc64le, s390x, aarch64, armv7hl #52

ignatenkobrain opened this issue Sep 11, 2018 · 4 comments

Comments

@ignatenkobrain
Copy link

error[E0308]: mismatched types
   --> src/dec128.rs:229:35
    |
229 |             decQuadToString(self, buf.as_mut().as_mut_ptr());
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
    |
    = note: expected type `*mut u8`
               found type `*mut i8`
error[E0308]: mismatched types
   --> src/dec128.rs:230:39
    |
230 |             let cstr = CStr::from_ptr(buf.as_ptr());
    |                                       ^^^^^^^^^^^^ expected u8, found i8
    |
    = note: expected type `*const u8`
               found type `*const i8`
error[E0308]: mismatched types
   --> src/dec128.rs:249:38
    |
249 |             decQuadToEngString(self, buf.as_mut().as_mut_ptr());
    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ expected u8, found i8
    |
    = note: expected type `*mut u8`
               found type `*mut i8`
error[E0308]: mismatched types
   --> src/dec128.rs:250:39
    |
250 |             let cstr = CStr::from_ptr(buf.as_ptr());
    |                                       ^^^^^^^^^^^^ expected u8, found i8
    |
    = note: expected type `*const u8`
               found type `*const i8`
error: aborting due to 4 previous errors
@skyne98
Copy link

skyne98 commented Mar 28, 2019

Yep, same

@ghost
Copy link

ghost commented May 23, 2019

Presumably this has been fixed in #42. It would be nice to have a release that has this though.

@finagolfin
Copy link

@alkis, this fix is in master, can you bump the latest release to include it?

@tari
Copy link

tari commented Jul 13, 2022

I think this can be closed now, since 2.1.0 has been released since the last update to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants