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:
parent
f956cb0f1f
commit
6b3e61f1f8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue