From 46de54d92d45bf880389536f9995288b7129d818 Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Mon, 6 Mar 2000 16:04:35 +0000 Subject: [PATCH] No one objected, so I changed case '0' ... case '7' in common.c to case '0': case '1': case 2' and so on. Now it compiles with MSVC. --- common/common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/common.c b/common/common.c index d8fbd19..9f064b2 100644 --- a/common/common.c +++ b/common/common.c @@ -648,7 +648,9 @@ skipwhite: base+=8; string=data; goto parse_char_number; - case '0' ... '7': +//Tonik case '0' ... '7': -- MSVC 6.0 doesn't understand this + case '0': case '1': case '2': case '3': + case '4': case '5': case '6': case '7': strncpy(buf,data,3); parse_char_number: c=strtol(string,&str,base);