summaryrefslogtreecommitdiff
path: root/fitz/filt_lzwd.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-09-21 17:29:51 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-09-21 17:29:51 +0200
commitf783c31203be2dbd7a28c89557014f97a367bec9 (patch)
tree8faea8d21fa44b99226af34a13f33c6a0e1f7182 /fitz/filt_lzwd.c
parentaa7668835afffd5a2a496a60ed6edb672f5af1a7 (diff)
downloadmupdf-f783c31203be2dbd7a28c89557014f97a367bec9.tar.xz
Add warning context.
Diffstat (limited to 'fitz/filt_lzwd.c')
-rw-r--r--fitz/filt_lzwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/filt_lzwd.c b/fitz/filt_lzwd.c
index 17d41d94..76cad305 100644
--- a/fitz/filt_lzwd.c
+++ b/fitz/filt_lzwd.c
@@ -104,7 +104,7 @@ read_lzwd(fz_stream *stm, unsigned char *buf, int len)
else if (code == next_code)
table[next_code].value = table[next_code].first_char;
else
- fz_warn("out of range code encountered in lzw decode");
+ fz_warn(stm->ctx, "out of range code encountered in lzw decode");
next_code ++;