incompatible pointer type
kgn opened this issue · comments
When building my app I get the following warnings, is there anyway around this because I like to build with 'treat warnings as errors'.
validatereceipt.m: In function 'dictionaryWithAppStoreReceipt':
validatereceipt.m:157: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type
validatereceipt.m:203: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
validatereceipt.m:212: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
validatereceipt.m:222: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
validatereceipt.m:229: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
validatereceipt.m:240: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
validatereceipt.m:268: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
validatereceipt.m:292: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
This is resolved in this fork: https://github.com/InScopeApps/ValidateStoreReceipt/commit/75f7b199f8cc2c5194b49ec8421dd2430182745d
Duplicates issue 3