diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/digestauth.c | 4 | ||||
-rw-r--r-- | src/daemon/internal.h | 2 |
2 files changed, 3 insertions, 3 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, |
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index fcacc523..0b5450e4 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -119,7 +119,7 @@ struct MHD_NonceNc | |||
119 | * Nonce counter, a value that increases for each subsequent | 119 | * Nonce counter, a value that increases for each subsequent |
120 | * request for the same nonce. | 120 | * request for the same nonce. |
121 | */ | 121 | */ |
122 | unsigned int nc; | 122 | unsigned long int nc; |
123 | 123 | ||
124 | /** | 124 | /** |
125 | * Nonce value: | 125 | * Nonce value: |