Revision: 73011
          http://sourceforge.net/p/brlcad/code/73011
Author:   d_rossberg
Date:     2019-05-07 08:05:49 +0000 (Tue, 07 May 2019)
Log Message:
-----------
quell warning/error because of an ignored printf format flag
from the printf man page: If a precision is given with a numeric conversion (d, 
i, o, u, x, and X), the 0 flag  is  ignored.

Modified Paths:
--------------
    brlcad/trunk/src/gtools/gex.cpp

Modified: brlcad/trunk/src/gtools/gex.cpp
===================================================================
--- brlcad/trunk/src/gtools/gex.cpp     2019-05-06 14:26:13 UTC (rev 73010)
+++ brlcad/trunk/src/gtools/gex.cpp     2019-05-07 08:05:49 UTC (rev 73011)
@@ -232,12 +232,12 @@
                print_representation(chars, PERLINE);
            }
 
-           printf("\n%08.8lx:", ii);
+           printf("\n%8.8lx:", ii);
        }
 
        ii++;
        i++;
-       printf(" %02.2x", (c & 0x00FF));
+       printf(" %2.2x", (c & 0x00FF));
        chars[j++] = c;
     }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to