diff options
Diffstat (limited to 'src/libs6/ftrig1_make.c')
-rw-r--r-- | src/libs6/ftrig1_make.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs6/ftrig1_make.c b/src/libs6/ftrig1_make.c index 8352e64..d22a76f 100644 --- a/src/libs6/ftrig1_make.c +++ b/src/libs6/ftrig1_make.c @@ -22,7 +22,7 @@ void ftrig1_init (void) surf_init(&surf_ctx, seed) ; } -static inline void surfname (char *s, unsigned int n) +static inline void surfname (char *s, size_t n) { static char const oklist[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZghijklmnopqrstuvwxyz-_0123456789abcdef" ; surf(&surf_ctx, s, n) ; @@ -32,7 +32,7 @@ static inline void surfname (char *s, unsigned int n) int ftrig1_make (ftrig1_t *f, char const *path) { ftrig1_t ff = FTRIG1_ZERO ; - unsigned int pathlen = str_len(path) ; + size_t pathlen = str_len(path) ; int e = 0 ; char tmp[pathlen + 46 + FTRIG1_PREFIXLEN] ; |