Prechádzať zdrojové kódy

COMP:Fix warning on VS 64bit. Don't why gcc 4.3.2 didn't catch this one on a 64bit machine with -Wconversion on.

Francois Bertel 16 rokov pred
rodič
commit
489df7836e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Source/kwsys/RegularExpression.cxx

+ 1 - 1
Source/kwsys/RegularExpression.cxx

@@ -348,7 +348,7 @@ static int strcspn ();
 bool RegularExpression::compile (const char* exp) {
     register const char* scan;
     register const char* longest;
-    register unsigned long len;
+    register size_t len;
              int         flags;
 
     if (exp == 0) {