Warning fixes

This commit is contained in:
Alexander S. Aganichev
2001-04-01 09:46:21 +00:00
parent c57e3b2863
commit f79327b384
9 changed files with 129 additions and 120 deletions

View File

@@ -34,7 +34,7 @@
char* CvtPrnstr(char* str, char* prn) {
int value;
uint value;
byte len=0;
char buf[256];
char* ptr=prn;
@@ -54,8 +54,8 @@ char* CvtPrnstr(char* str, char* prn) {
break;
case '#':
ptr++;
value = atoi(ptr);
buf[len++] = (byte)value;
value = (byte)atoi(ptr);
buf[len++] = value;
while(isdigit(*ptr) and *ptr)
ptr++;
break;