uptane / aktualizr

C++ Uptane Client
Mozilla Public License 2.0
16 stars 16 forks source link

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

Closed Hadatko closed 2 years ago

Hadatko commented 2 years ago

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 commented 2 years ago

Okay, I made https://github.com/uptane/aktualizr/pull/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 commented 2 years ago

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

But i am not sure

pattivacek commented 2 years ago

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 commented 2 years ago

Your PR looks working for me.