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

Compiling on arm failing error: conversion from 'int64_t' #77

Closed
Hadatko opened this issue May 31, 2022 · 4 comments · Fixed by #78
Closed

Compiling on arm failing error: conversion from 'int64_t' #77

Hadatko opened this issue May 31, 2022 · 4 comments · Fixed by #78

Comments

@Hadatko
Copy link

Hadatko commented May 31, 2022

Hello, i am trying to build libaktualizr-lite in docker image for arm and i got this error:

Originaly i posted this issue to Foundries Issue and they forward me here.

@pattivacek
Copy link
Collaborator

Okay, I made #78 to try to fix this. It's a bit hard for me to test, though, so I'm afraid I'll need you to try it out.

FYI it's much preferred if you can post the terminal output directly as text instead of as an image. No worries in this case!

@Hadatko
Copy link
Author

Hadatko commented May 31, 2022

I am thinking if it wouldn't be better to replace int64_t with size_t instead.

But i am not sure

@pattivacek
Copy link
Collaborator

Up to you. I'm happy to go with whatever works for you, but my quick research indicated that ptrdiff_t was more likely to be compatible with iterators.

@Hadatko
Copy link
Author

Hadatko commented May 31, 2022

Your PR looks working for me.

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

Successfully merging a pull request may close this issue.

2 participants