diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-04-30 09:46:25 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-04-30 09:46:25 -0400 |
commit | 61eb69b770d3475a88b363165698b20cb81e9c3e (patch) | |
tree | fcb90ed897904cbc7c83806f638d7857b976a626 | |
parent | fc7d5d22b8242381c2c454ca7ae5587e79c33580 (diff) |
Switched a few remaining "unsigned int" to "uint_t"
-rw-r--r-- | dpi/file.c | 2 | ||||
-rw-r--r-- | dpi/https.c | 4 | ||||
-rw-r--r-- | dpid/misc_new.c | 2 | ||||
-rw-r--r-- | src/prefsparser.cc | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -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[] = { |