summaryrefslogtreecommitdiffstats
path: root/pacredir.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-30 15:46:26 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-10-30 15:46:26 +0100
commit34ef5fd624dc1597bbc68bc34b20f70fa26bf0bf (patch)
tree17294c463aa16929358154e12721247f72dbe801 /pacredir.c
parenta09b879aeab6089ffd10a959089764cd5b9919be (diff)
downloadpacredir-34ef5fd624dc1597bbc68bc34b20f70fa26bf0bf.tar.gz
pacredir-34ef5fd624dc1597bbc68bc34b20f70fa26bf0bf.tar.zst
use unsigned int for recent
Diffstat (limited to 'pacredir.c')
-rw-r--r--pacredir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pacredir.c b/pacredir.c
index 087b982..f76e556 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -238,8 +238,8 @@ static int ahc_echo(void * cls, struct MHD_Connection * connection, const char *
struct stat fst;
char * filename;
- long http_code, recent = 0;
- long last_modified, last_modified_recent = 0;
+ unsigned int recent = 0;
+ long http_code, last_modified, last_modified_recent = 0;
/* we want to filename, not the path */
basename = uri;