summaryrefslogtreecommitdiff
path: root/includes/lzss.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/lzss.h')
-rw-r--r--includes/lzss.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/lzss.h b/includes/lzss.h
index 37d3ed6..14aa345 100644
--- a/includes/lzss.h
+++ b/includes/lzss.h
@@ -13,7 +13,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * aint with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
@@ -57,10 +57,10 @@ class lzss : public Base {
static const scheme_t schemes[];
int tolerate, blockb;
- long blk, bitmap_count;
+ int blk, bitmap_count;
- unsigned long lzss_decomp(Handle * f_source, Handle * f_cible, long true_length = -1);
- void lzss_comp(Handle * f_source, Handle * f_cible, long * delta = NULL);
+ unsigned int lzss_decomp(Handle * f_source, Handle * f_cible, int true_length = -1);
+ void lzss_comp(Handle * f_source, Handle * f_cible, int * delta = NULL);
Byte swap_bits(Byte);
@@ -73,9 +73,9 @@ class lzss : public Base {
unsigned int shift(unsigned int, int);
void compute_limits(void);
- unsigned char lzss_rd(unsigned char *, long);
- long lzss_comp_strstr(unsigned char *, unsigned char *, long *, long);
- unsigned char * lzss_memcomp(unsigned char *, long *, long *);
+ unsigned char lzss_rd(unsigned char *, int);
+ int lzss_comp_strstr(unsigned char *, unsigned char *, int *, int);
+ unsigned char * lzss_memcomp(unsigned char *, int *, int *);
};
#endif