diff options
Diffstat (limited to 'include/lzo/lzo1x.h')
-rw-r--r-- | include/lzo/lzo1x.h | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/include/lzo/lzo1x.h b/include/lzo/lzo1x.h index 9bb993c..f15c1f9 100644 --- a/include/lzo/lzo1x.h +++ b/include/lzo/lzo1x.h @@ -2,22 +2,7 @@ This file is part of the LZO real-time data compression library. - Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2005 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2004 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2003 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2002 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2001 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer All Rights Reserved. The LZO library is free software; you can redistribute it and/or @@ -83,7 +68,7 @@ lzo1x_decompress_safe ( const lzo_bytep src, lzo_uint src_len, // ************************************************************************/ -#define LZO1X_1_MEM_COMPRESS ((lzo_uint32) (16384L * lzo_sizeof_dict_t)) +#define LZO1X_1_MEM_COMPRESS ((lzo_uint32_t) (16384L * lzo_sizeof_dict_t)) LZO_EXTERN(int) lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, @@ -96,7 +81,7 @@ lzo1x_1_compress ( const lzo_bytep src, lzo_uint src_len, ************************************************************************/ /* this version needs only 8 KiB work memory */ -#define LZO1X_1_11_MEM_COMPRESS ((lzo_uint32) (2048L * lzo_sizeof_dict_t)) +#define LZO1X_1_11_MEM_COMPRESS ((lzo_uint32_t) (2048L * lzo_sizeof_dict_t)) LZO_EXTERN(int) lzo1x_1_11_compress ( const lzo_bytep src, lzo_uint src_len, @@ -105,7 +90,7 @@ lzo1x_1_11_compress ( const lzo_bytep src, lzo_uint src_len, /* this version needs 16 KiB work memory */ -#define LZO1X_1_12_MEM_COMPRESS ((lzo_uint32) (4096L * lzo_sizeof_dict_t)) +#define LZO1X_1_12_MEM_COMPRESS ((lzo_uint32_t) (4096L * lzo_sizeof_dict_t)) LZO_EXTERN(int) lzo1x_1_12_compress ( const lzo_bytep src, lzo_uint src_len, @@ -114,7 +99,7 @@ lzo1x_1_12_compress ( const lzo_bytep src, lzo_uint src_len, /* use this version if you need a little more compression speed */ -#define LZO1X_1_15_MEM_COMPRESS ((lzo_uint32) (32768L * lzo_sizeof_dict_t)) +#define LZO1X_1_15_MEM_COMPRESS ((lzo_uint32_t) (32768L * lzo_sizeof_dict_t)) LZO_EXTERN(int) lzo1x_1_15_compress ( const lzo_bytep src, lzo_uint src_len, @@ -126,7 +111,7 @@ lzo1x_1_15_compress ( const lzo_bytep src, lzo_uint src_len, // better compression ratio at the cost of more memory and time ************************************************************************/ -#define LZO1X_999_MEM_COMPRESS ((lzo_uint32) (14 * 16384L * sizeof(short))) +#define LZO1X_999_MEM_COMPRESS ((lzo_uint32_t) (14 * 16384L * sizeof(short))) LZO_EXTERN(int) lzo1x_999_compress ( const lzo_bytep src, lzo_uint src_len, @@ -177,4 +162,4 @@ lzo1x_optimize ( lzo_bytep src, lzo_uint src_len, #endif /* already included */ -/* vim:set ts=4 et: */ +/* vim:set ts=4 sw=4 et: */ |