Skip to content

Commit

Permalink
[lib] refs #992 - Minor changes to mute gcc data type warnings
Browse files Browse the repository at this point in the history
Gitignore Eclipse temp files
  • Loading branch information
olemis committed Apr 2, 2018
1 parent 9737a1c commit 4614842
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,9 @@ skycoin-cli
# FIXME: see #1027 - Temporary solution to deal with generated file
include/libskycoin.h

# Eclipse temp files
.cproject
metadata/**
.project


2 changes: 1 addition & 1 deletion lib/cgo/tests/check_cipher.crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ Test(asserts, TestSigHex) {
randBytes(&b, 65);
errcode = SKY_cipher_NewSig(b, &s);
cr_assert(errcode == SKY_OK);
SKY_cipher_Sig_Hex(s, &str);
SKY_cipher_Sig_Hex(&s, (GoString_ *) &str);
memcpy(strBuff, str.p, str.n + 1);
free((void *) str.p);
str.p = strBuff;
Expand Down

0 comments on commit 4614842

Please sign in to comment.