changeset 1059:7bec6cfe6b6b

Switched a few remaining "unsigned int" to "uint_t"
author Jorge Arellano Cid <jcid@dillo.org>
date Thu, 30 Apr 2009 09:46:25 -0400
parents 0fe4640d03d8
children b455cecaac6c e6c69e8b7bfa
files dpi/file.c dpi/https.c dpid/misc_new.c src/prefsparser.cc
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/file.c	Tue Apr 28 19:05:46 2009 +0200
+++ b/dpi/file.c	Thu Apr 30 09:46:25 2009 -0400
@@ -913,7 +913,7 @@
  * 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;
--- a/dpi/https.c	Tue Apr 28 19:05:46 2009 +0200
+++ b/dpi/https.c	Thu Apr 30 09:46:25 2009 -0400
@@ -291,7 +291,7 @@
    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 @@
    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*/
--- a/dpid/misc_new.c	Tue Apr 28 19:05:46 2009 +0200
+++ b/dpid/misc_new.c	Thu Apr 30 09:46:25 2009 -0400
@@ -170,7 +170,7 @@
 {
    char *tmp = template + strlen(template) - 6;
    int i;
-   unsigned int random;
+   uint_t random;
    struct stat stat_buf;
 
    if (tmp < template)
--- a/src/prefsparser.cc	Tue Apr 28 19:05:46 2009 +0200
+++ b/src/prefsparser.cc	Thu Apr 30 09:46:25 2009 -0400
@@ -44,7 +44,7 @@
 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[] = {