summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-internal.h
diff options
context:
space:
mode:
authorJosh MacDonald <josh.macdonald@gmail.com>2014-10-18 23:24:50 -0700
committerJosh MacDonald <josh.macdonald@gmail.com>2014-10-18 23:24:50 -0700
commitbf0c8992055b4e66488a2b8de56c353c573268ac (patch)
treeeadf044444621d04c73e74f580b5d66a3a730bc9 /xdelta3/xdelta3-internal.h
parentee616b958d794c6714d117b22f0be6757b379d7e (diff)
Some -Wconversion cleanups
Diffstat (limited to 'xdelta3/xdelta3-internal.h')
-rw-r--r--xdelta3/xdelta3-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xdelta3/xdelta3-internal.h b/xdelta3/xdelta3-internal.h
index 35de56b..b586e06 100644
--- a/xdelta3/xdelta3-internal.h
+++ b/xdelta3/xdelta3-internal.h
@@ -47,7 +47,7 @@ uint32_t xd3_large_cksum_update (uint32_t cksum,
47 const uint8_t *base, 47 const uint8_t *base,
48 usize_t look); 48 usize_t look);
49int xd3_encode_init_full (xd3_stream *stream); 49int xd3_encode_init_full (xd3_stream *stream);
50size_t xd3_pow2_roundup (size_t x); 50usize_t xd3_pow2_roundup (usize_t x);
51int xd3_process_stream (int is_encode, 51int xd3_process_stream (int is_encode,
52 xd3_stream *stream, 52 xd3_stream *stream,
53 int (*func) (xd3_stream *), 53 int (*func) (xd3_stream *),
@@ -136,7 +136,7 @@ typedef struct {
136#endif 136#endif
137 137
138/* Underlying xprintf() */ 138/* Underlying xprintf() */
139int xsnprintf_func (char *str, int n, const char *fmt, ...) 139int xsnprintf_func (char *str, size_t n, const char *fmt, ...)
140 PRINTF_ATTRIBUTE(3,4); 140 PRINTF_ATTRIBUTE(3,4);
141 141
142/* XPR(NT "", ...) (used by main) prefixes an "xdelta3: " to the output. */ 142/* XPR(NT "", ...) (used by main) prefixes an "xdelta3: " to the output. */