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

Compile warning in function CitaSendRawtx #1268

Open
PanHH opened this issue Nov 16, 2022 · 0 comments
Open

Compile warning in function CitaSendRawtx #1268

PanHH opened this issue Nov 16, 2022 · 0 comments
Assignees

Comments

@PanHH
Copy link
Contributor

PanHH commented Nov 16, 2022

Describe the bug
Compile warning in function CitaSendRawtx

boatcita.c: In function 'CitaSendRawtx':
boatcita.c:71:17: warning: pointer targets in passing argument 2 of 'UtilityBinToHex' differ in signedness [-Wpointer-sign]
                 (char*)tx_ptr->rawtx_fields.nonce.field, 16,
                 ^
In file included from /home/john/BoAT-X-Framework/include/boatiotsdk.h:36:0,
                 from /home/john/BoAT-X-Framework/sdk/include/boatinternal.h:37,
                 from boatcita.c:24:
/home/john/BoAT-X-Framework/include/boatutility.h:304:9: note: expected 'const BUINT8 * {aka const unsigned char *}' but argument is of type 'char *'
 BUINT32 UtilityBinToHex(BOAT_OUT BCHAR *to_str,
         ^~~~~~~~~~~~~~~
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

2 participants