0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

Use uint32_t for get_provider_id, not int

This commit is contained in:
Elizabeth Myers 2016-04-06 05:43:28 -05:00
parent f956cb0f1f
commit 6b3e61f1f8

View file

@ -131,7 +131,7 @@ get_provider(const char *name)
/* Get a provider's id by name */ /* Get a provider's id by name */
static inline bool static inline bool
get_provider_id(const char *name, int *id) get_provider_id(const char *name, uint32_t *id)
{ {
struct auth_provider *provider = get_provider(name); struct auth_provider *provider = get_provider(name);