archivers/zip.c
changeset 715 d6bf881b6e1e
parent 691 71d9affe0d8a
child 754 e7cd7411eadf
--- a/archivers/zip.c	Thu Jul 21 18:10:17 2005 +0000
+++ b/archivers/zip.c	Sat Jul 23 21:46:07 2005 +0000
@@ -1146,9 +1146,9 @@
         if (rc == 0)
         {
             char ch = name[dlen];
-            if (ch < '/') /* make sure this isn't just a substr match. */
+            if ('/' < ch) /* make sure this isn't just a substr match. */
                 rc = -1;
-            else if (ch > '/')
+            else if ('/' > ch)
                 rc = 1;
             else 
             {