Performing prefix or postfix increments, eg. ++var or var++, in the arguments to printf is inherently non-portable and may give different results on different platforms. Commit mends this issue. Commit for Dan Gora