Minor tweak to get rid of compiler warning

This commit is contained in:
John Jones 2017-02-22 10:54:16 -05:00
parent ba234206a2
commit 7da26ca04d

View file

@ -35,7 +35,7 @@ int test_full() {
multiaddress_encapsulate(a,"/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG"); multiaddress_encapsulate(a,"/ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG");
printf("A STRING ENCAPSULATED IPFS:%s\n",a->string); printf("A STRING ENCAPSULATED IPFS:%s\n",a->string);
printf("TEST BYTES: %s\n",Var_To_Hex(a->bsize, a->bytes)); printf("TEST BYTES: %s\n",Var_To_Hex(a->bsize, a->bytes));
printf("TEST BYTE SIZE: %u\n",a->bsize); printf("TEST BYTE SIZE: %lu\n",a->bsize);
struct MultiAddress* beta; struct MultiAddress* beta;
beta = multiaddress_new_from_bytes(a->bytes,a->bsize); beta = multiaddress_new_from_bytes(a->bytes,a->bsize);