aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd')
-rw-r--r--src/microhttpd/digestauth.c4
-rw-r--r--src/microhttpd/internal.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 851eaa3f..f461abd4 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -308,7 +308,7 @@ lookup_sub_value (char *dest,
308static int 308static int
309check_nonce_nc (struct MHD_Connection *connection, 309check_nonce_nc (struct MHD_Connection *connection,
310 const char *nonce, 310 const char *nonce,
311 unsigned long int nc) 311 uint64_t nc)
312{ 312{
313 uint32_t off; 313 uint32_t off;
314 uint32_t mod; 314 uint32_t mod;
@@ -567,7 +567,7 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
567 uint32_t nonce_time; 567 uint32_t nonce_time;
568 uint32_t t; 568 uint32_t t;
569 size_t left; /* number of characters left in 'header' for 'uri' */ 569 size_t left; /* number of characters left in 'header' for 'uri' */
570 unsigned long int nci; 570 uint64_t nci;
571 571
572 header = MHD_lookup_connection_value (connection, 572 header = MHD_lookup_connection_value (connection,
573 MHD_HEADER_KIND, 573 MHD_HEADER_KIND,
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 30db7e2a..73357518 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -190,7 +190,7 @@ struct MHD_NonceNc
190 * Nonce counter, a value that increases for each subsequent 190 * Nonce counter, a value that increases for each subsequent
191 * request for the same nonce. 191 * request for the same nonce.
192 */ 192 */
193 unsigned long int nc; 193 uint64_t nc;
194 194
195 /** 195 /**
196 * Nonce value: 196 * Nonce value: