summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-04-05 12:24:53 +0100
committerRobin Watts <robin.watts@artifex.com>2012-04-05 12:24:53 +0100
commitb32c5d4f88835ad7b36946f8fcec47e809bcd11b (patch)
treec68eb226139ff9a755f518d0109295e9e77dafce /pdf
parent0c0398c06c6e2a1bc9ca0765836cc4beb997cfa7 (diff)
downloadmupdf-b32c5d4f88835ad7b36946f8fcec47e809bcd11b.tar.xz
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.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_function.c4
1 files changed, 3 insertions, 1 deletions
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: