eosnetworkfoundation / ledger-app

EOS app for ledger devices
Apache License 2.0
1 stars 0 forks source link

Incompatible pointer types main.c #19

Closed ericpassmore closed 2 years ago

ericpassmore commented 2 years ago

src/main.c:1053:31: warning: passing 'volatile internalStorage_t ' (aka 'volatile struct internalStorage_t ') to parameter of type 'void ' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] nvm_write(&N_storage, (void )&storage, ^~~~~~ /opt/nanos-secure-sdk/include/os_nvm.h:19:30: note: passing argument to parameter 'dst_adr' here SYSCALL void nvm_write(void *dst_adr PLENGTH(src_len), ^

ericpassmore commented 2 years ago

Duplicate of #12