summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dpi/file.c2
-rw-r--r--dpi/https.c4
-rw-r--r--dpid/misc_new.c2
-rw-r--r--src/prefsparser.cc2
4 files changed, 5 insertions, 5 deletions
diff --git a/dpi/file.c b/dpi/file.c
index 12566cf0..d805d731 100644
--- a/dpi/file.c
+++ b/dpi/file.c
@@ -913,7 +913,7 @@ static void *File_serve_clients(void *client)
* Check a fd for activity, with a max timeout.
* return value: 0 if timeout, 1 if input available, -1 if error.
*/
-static int File_check_fd(int filedes, unsigned int seconds)
+static int File_check_fd(int filedes, uint_t seconds)
{
int st;
fd_set set;
diff --git a/dpi/https.c b/dpi/https.c
index 961fc2d6..ba6c73a9 100644
--- a/dpi/https.c
+++ b/dpi/https.c
@@ -291,7 +291,7 @@ static int get_network_connection(char * url)
int s;
int url_offset = 0;
int portnum = 443;
- unsigned int url_look_up_length = 0;
+ uint_t url_look_up_length = 0;
char * url_look_up = NULL;
/*Determine how much of url we chop off as unneeded*/
@@ -580,7 +580,7 @@ static int save_certificate_home(X509 * cert)
char buf[4096];
FILE * fp = NULL;
- unsigned int i = 0;
+ uint_t i = 0;
int retval = 1;
/*Attempt to create .dillo/certs blindly - check later*/
diff --git a/dpid/misc_new.c b/dpid/misc_new.c
index 2438a80f..83f990ac 100644
--- a/dpid/misc_new.c
+++ b/dpid/misc_new.c
@@ -170,7 +170,7 @@ char *a_Misc_mkfname(char *template)
{
char *tmp = template + strlen(template) - 6;
int i;
- unsigned int random;
+ uint_t random;
struct stat stat_buf;
if (tmp < template)
diff --git a/src/prefsparser.cc b/src/prefsparser.cc
index ac34f538..c3cf7a66 100644
--- a/src/prefsparser.cc
+++ b/src/prefsparser.cc
@@ -44,7 +44,7 @@ typedef struct SymNode_ {
int PrefsParser::parseOption(char *name, char *value)
{
const SymNode_t *node;
- unsigned int i;
+ uint_t i;
/* Symbol array, sorted alphabetically */
const SymNode_t symbols[] = {