diff options
author | David Schleef <ds@ginger.bigkitten.com> | 2008-05-29 13:59:09 -0700 |
---|---|---|
committer | David Schleef <ds@ginger.bigkitten.com> | 2008-05-29 13:59:09 -0700 |
commit | 8304de0c341d3e79799c0e6c00dafe62bbf079e0 (patch) | |
tree | dea099a98265ad6435894d41da21f2860b73977d /liboil/liboiltest.c | |
parent | 74128fd0b3f857ed06411a1f6fd0a17907382db7 (diff) | |
download | liboil-8304de0c341d3e79799c0e6c00dafe62bbf079e0.tar.gz |
[oil] Compile fixes for windows
Diffstat (limited to 'liboil/liboiltest.c')
-rw-r--r-- | liboil/liboiltest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/liboil/liboiltest.c b/liboil/liboiltest.c index b4c6e5d..43bcde2 100644 --- a/liboil/liboiltest.c +++ b/liboil/liboiltest.c @@ -671,7 +671,8 @@ check_holes (void *data, OilType type, int pre_n, int stride, int post_n, } for(i=0;i<post_n;i++){ - if (!check_guard (data + stride * i + chunk_size, hole_size, guard)) { + if (!check_guard (OIL_OFFSET(data, stride * i + chunk_size), + hole_size, guard)) { return 0; } } |