summaryrefslogtreecommitdiff
path: root/stream/filt_lzwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/filt_lzwd.c')
-rw-r--r--stream/filt_lzwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/filt_lzwd.c b/stream/filt_lzwd.c
index bbdb4984..127ebde8 100644
--- a/stream/filt_lzwd.c
+++ b/stream/filt_lzwd.c
@@ -83,7 +83,7 @@ fz_newlzwd(fz_filter **fp, fz_obj *params)
lzw->oldcode = -1;
lzw->resume = 0;
- return nil;
+ return fz_okay;
}
void
@@ -107,7 +107,7 @@ static inline fz_error * fillbits(fz_lzwd *lzw, fz_buffer *in)
lzw->word |= *in->rp << lzw->bidx;
in->rp ++;
}
- return nil;
+ return fz_okay;
}
static inline void unstuff(fz_lzwd *lzw, fz_buffer *in)