changeset 3958:f48a01a0d3dc libavcodec

Avoid void *-arithmetic
author reimar
date Sun, 08 Oct 2006 14:32:27 +0000
parents b6f6bf155661
children 514c6726b83b
files lzo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lzo.c	Sun Oct 08 13:55:02 2006 +0000
+++ b/lzo.c	Sun Oct 08 14:32:27 2006 +0000
@@ -166,9 +166,9 @@
     int x;
     LZOContext c;
     c.in = in;
-    c.in_end = in + *inlen;
+    c.in_end = (uint8_t *)in + *inlen;
     c.out = c.out_start = out;
-    c.out_end = out + * outlen;
+    c.out_end = (uint8_t *)out + * outlen;
     c.error = 0;
     x = get_byte(&c);
     if (x > 17) {