Reorder conditions that are written backwards
[bpt/emacs.git] / src / doprnt.c
index 471e35c..087256c 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");