aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-runserver/httpd-utils.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:19:56 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:19:56 +0100
commitc278e2da0cf9aee161e23771125629bdfe8d5d89 (patch)
treed133edccf32c7a260c534e22325ce671b5023421 /src/blogc-runserver/httpd-utils.c
parent93fc79a5b2826bcddd617e5180d5513dc3cdc67c (diff)
downloadblogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.gz
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.bz2
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.zip
blogc: common: replace unsigned int with size_t
Diffstat (limited to 'src/blogc-runserver/httpd-utils.c')
-rw-r--r--src/blogc-runserver/httpd-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-runserver/httpd-utils.c b/src/blogc-runserver/httpd-utils.c
index e67afb1..7a49bf2 100644
--- a/src/blogc-runserver/httpd-utils.c
+++ b/src/blogc-runserver/httpd-utils.c
@@ -90,7 +90,7 @@ const char*
br_get_extension(const char *filename)
{
const char *ext = NULL;
- unsigned int i;
+ size_t i;
for (i = strlen(filename); i > 0; i--) {
if (filename[i] == '.') {
ext = filename + i + 1;