secp256k1_context_create: Use unsigned type for flags bitfield

This commit is contained in:
Luke Dashjr committed 2015-09-19 19:32:21 +00:00
1 parent 85e3a2cc08
commit 64b730bc3f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ typedef int (*secp256k1_nonce_function_t)(
* In: flags: which parts of the context to initialize.
*/
secp256k1_context_t* secp256k1_context_create(
int flags
unsigned int flags
) SECP256K1_WARN_UNUSED_RESULT;
/** Copies a secp256k1 context object.