From b32c5d4f88835ad7b36946f8fcec47e809bcd11b Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 5 Apr 2012 12:24:53 +0100 Subject: Bug 692141 - Work around bug in VS2005 Team Suite Put the logf call in it's own statement to fix a stupid header file bug. --- pdf/pdf_function.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c index cd99e14d..cbcd8aa7 100644 --- a/pdf/pdf_function.c +++ b/pdf/pdf_function.c @@ -500,7 +500,9 @@ ps_run(fz_context *ctx, psobj *code, ps_stack *st, int pc) case PS_OP_LN: r1 = ps_pop_real(st); - ps_push_real(st, logf(r1)); + /* Bug 692941 - logf as separate statement */ + r2 = logf(r1); + ps_push_real(st, r2); break; case PS_OP_LOG: -- cgit v1.2.3