--- trunk/src/float_emul.c 2007/10/08 16:19:37 22 +++ trunk/src/float_emul.c 2007/10/08 16:19:56 24 @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: float_emul.c,v 1.6 2006/01/14 12:51:59 debug Exp $ + * $Id: float_emul.c,v 1.7 2006/03/30 19:36:03 debug Exp $ * * Floating point emulation routines. */ @@ -142,8 +142,8 @@ fvp->f = fraction; #ifdef IEEE_DEBUG - fatal("{ ieee: x=%016llx sign=%i exponent=%i frac=%f ", - (long long)x, sign, exponent, fraction); + fatal("{ ieee: x=%016"PRIx64" sign=%i exponent=%i frac=%f ", + (uint64_t) x, sign, exponent, fraction); #endif /* TODO: this is awful for exponents of large magnitude. */ @@ -274,7 +274,7 @@ r = 0; #ifdef IEEE_DEBUG - fatal(" exp=%i, r = %016llx }\n", exponent, (long long)r); + fatal(" exp=%i, r = %016"PRIx64" }\n", exponent, (uint64_t) r); #endif break; default:/* TODO */