diff options
Diffstat (limited to 'src/daemon/digestauth.c')
-rw-r--r-- | src/daemon/digestauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/digestauth.c b/src/daemon/digestauth.c index 00612e35..29b81e28 100644 --- a/src/daemon/digestauth.c +++ b/src/daemon/digestauth.c | |||
@@ -297,7 +297,7 @@ lookup_sub_value(char *dest, | |||
297 | static int | 297 | static int |
298 | check_nonce_nc (struct MHD_Connection *connection, | 298 | check_nonce_nc (struct MHD_Connection *connection, |
299 | const char *nonce, | 299 | const char *nonce, |
300 | unsigned int nc) | 300 | unsigned long int nc) |
301 | { | 301 | { |
302 | uint32_t off; | 302 | uint32_t off; |
303 | uint32_t mod; | 303 | uint32_t mod; |
@@ -461,7 +461,7 @@ MHD_digest_auth_check(struct MHD_Connection *connection, | |||
461 | uint32_t nonce_time; | 461 | uint32_t nonce_time; |
462 | uint32_t t; | 462 | uint32_t t; |
463 | size_t left; /* number of characters left in 'header' for 'uri' */ | 463 | size_t left; /* number of characters left in 'header' for 'uri' */ |
464 | unsigned int nci; | 464 | unsigned long int nci; |
465 | 465 | ||
466 | header = MHD_lookup_connection_value(connection, | 466 | header = MHD_lookup_connection_value(connection, |
467 | MHD_HEADER_KIND, | 467 | MHD_HEADER_KIND, |