Browse Source

Fix parameter inconsistency in prototype

The share number parameter in gfsec_share_set_info should be an
unsigned short, not an unsigned char.
develop
Damien Goutte-Gattat 5 years ago
parent
commit
5797c6b513
  1. 2
      src/secret.c
  2. 2
      src/secret.h

2
src/secret.c

@ -152,7 +152,7 @@ gfsec_share_new(void)
*/
void
gfsec_share_set_info(gfsec_share_t *share,
unsigned char number,
unsigned short number,
gfsec_scheme_t scheme,
const char *authority,
const char *path,

2
src/secret.h

@ -98,7 +98,7 @@ gfsec_share_new(void);
void
gfsec_share_set_info(gfsec_share_t *,
unsigned char,
unsigned short,
gfsec_scheme_t,
const char *,
const char *,

Loading…
Cancel
Save