summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2008-09-17 03:32:47 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2008-09-17 03:32:47 +0000
commit0445e4a19055823f52ad799d0472b7331cedcf57 (patch)
tree424f9f8b157e38d47b1a9aff9f19558ca2ef07eb /xdelta3/xdelta3.h
parent3f45014f9ed4132a7f388a034237e9ab93fe7ffe (diff)
Compile with
-Wconversion -Wsign-compare -Wextra -Wno-unused-parameter in C and C++.
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r--xdelta3/xdelta3.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index 3aab8b6..b3e79f5 100644
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -24,6 +24,7 @@
24#ifndef _XDELTA3_H_ 24#ifndef _XDELTA3_H_
25#define _XDELTA3_H_ 25#define _XDELTA3_H_
26 26
27#include <stddef.h>
27#include <stdlib.h> 28#include <stdlib.h>
28#include <string.h> 29#include <string.h>
29#include <sys/types.h> 30#include <sys/types.h>
@@ -671,8 +672,8 @@ struct _xd3_whole_state {
671struct _xd3_sec_cfg 672struct _xd3_sec_cfg
672{ 673{
673 int data_type; /* Which section. (set automatically) */ 674 int data_type; /* Which section. (set automatically) */
674 int ngroups; /* Number of DJW Huffman groups. */ 675 usize_t ngroups; /* Number of DJW Huffman groups. */
675 int sector_size; /* Sector size. */ 676 usize_t sector_size; /* Sector size. */
676 int inefficient; /* If true, ignore efficiency check [avoid XD3_NOSECOND]. */ 677 int inefficient; /* If true, ignore efficiency check [avoid XD3_NOSECOND]. */
677}; 678};
678 679