dtdspmsg: Warning prevention

This commit is contained in:
Peter Howkins
2012-08-30 18:14:15 +01:00
parent ce7f5d0862
commit 6315770583

View File

@@ -56,6 +56,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <locale.h>
#include "msgfac_msg.h"
@@ -168,7 +169,7 @@ int main(int argc,char *argv[])
case 'x':
{
char *pesc = p;
int hex, hexlen = 0;
unsigned int hex, hexlen = 0;
while (isxdigit(*++pesc))
hexlen++;