diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-04-05 12:24:53 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-04-05 12:24:53 +0100 |
commit | b32c5d4f88835ad7b36946f8fcec47e809bcd11b (patch) | |
tree | c68eb226139ff9a755f518d0109295e9e77dafce /pdf/pdf_function.c | |
parent | 0c0398c06c6e2a1bc9ca0765836cc4beb997cfa7 (diff) | |
download | mupdf-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/pdf_function.c')
-rw-r--r-- | pdf/pdf_function.c | 4 |
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: |