summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:53:34 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commitae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch)
treebe0c9427556557ff5b06b0250bc64ff33062199e /sysdep/unix
parente348ef01b433e06888310c1098a05291034a856c (diff)
unsigned [int] -> uint
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/main.c2
-rw-r--r--sysdep/unix/unix.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 05f7560d..e31471da 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -155,7 +155,7 @@ read_iproute_table(char *file, char *prefix, int max)
static char *config_name = PATH_CONFIG_FILE;
static int
-cf_read(byte *dest, unsigned int len, int fd)
+cf_read(byte *dest, uint len, int fd)
{
int l = read(fd, dest, len);
if (l < 0)
diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h
index 593978cc..4e0ff841 100644
--- a/sysdep/unix/unix.h
+++ b/sysdep/unix/unix.h
@@ -119,7 +119,7 @@ void log_switch(int debug, list *l, char *); /* Use l=NULL for initial switch */
struct log_config {
node n;
- unsigned int mask; /* Classes to log */
+ uint mask; /* Classes to log */
void *fh; /* FILE to log to, NULL=syslog */
int terminal_flag;
};