summaryrefslogtreecommitdiffstats
path: root/src/wgt-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wgt-info.c')
-rw-r--r--src/wgt-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wgt-info.c b/src/wgt-info.c
index 02a619b..976fc54 100644
--- a/src/wgt-info.c
+++ b/src/wgt-info.c
@@ -77,7 +77,7 @@ static xmlChar *optcontent(xmlNodePtr node)
static char *mkver(char *version)
{
- int lver;
+ unsigned int lver;
char c, *r;
if (version) {
c = version[lver = 0];
@@ -100,7 +100,7 @@ static char *mkver(char *version)
static char *mkidaver(char *id, char *ver)
{
- int lid, lver;
+ size_t lid, lver;
char *r;
if (id && ver) {
lid = strlen(id);