]> code.delx.au - gnu-emacs/blobdiff - src/doprnt.c
Reorder conditions that are written backwards
[gnu-emacs] / src / doprnt.c
index 471e35c7b43c7c69ff75ffa3008f4a7d95a02125..087256ced2a1a595b7960bcd78b43401e5ab82b0 100644 (file)
@@ -361,7 +361,7 @@ doprnt (char *buffer, ptrdiff_t bufsize, const char *format,
 
              /* Copy string into final output, truncating if no room.  */
            doit:
-             eassert (0 <= tem);
+             eassert (tem >= 0);
              /* Coming here means STRING contains ASCII only.  */
              if (STRING_BYTES_BOUND < tem)
                error ("Format width or precision too large");