X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Flizard-safe.c;h=ba7d8df34cdb05a9602735e2ea0aea266b3a8be1;hb=0f88062c8973258611a8cba9a0e9668d1c688030;hp=96eeb4385cde6df9cca0de3b8b513bbb7e57a15f;hpb=031256ad2e123eec58521f8e3eb9496c197641d2;p=libucw.git diff --git a/ucw/lizard-safe.c b/ucw/lizard-safe.c index 96eeb438..ba7d8df3 100644 --- a/ucw/lizard-safe.c +++ b/ucw/lizard-safe.c @@ -79,7 +79,7 @@ lizard_decompress_safe(const byte *in, struct lizard_buffer *buf, uns expected_l uns lock_offset = ALIGN_TO(expected_length + 3, CPU_PAGE_SIZE); // +3 due to the unaligned access if (lock_offset > buf->len) lizard_realloc(buf, lock_offset); - volatile sh_sighandler_t old_handler = set_signal_handler(SIGSEGV, sigsegv_handler); + volatile ucw_sighandler_t old_handler = set_signal_handler(SIGSEGV, sigsegv_handler); byte *ptr; if (!setjmp(safe_decompress_jump)) {