Integer types cleanup

Try to be a bit more strict about integer types, use off_t or int64_t for
file size and file offsets.

Replace safe_ato*() by safe_atoi32() and safe_atoi64(), fix integer types
at call sites to match.
This commit is contained in:
Julien BLACHE
2010-02-02 21:02:24 +01:00
parent 5d41d2d99c
commit 58faeaceca
10 changed files with 72 additions and 93 deletions

View File

@@ -10,7 +10,7 @@ int
transcode(struct transcode_ctx *ctx, struct evbuffer *evbuf, int wanted);
struct transcode_ctx *
transcode_setup(struct media_file_info *mfi, size_t *est_size);
transcode_setup(struct media_file_info *mfi, off_t *est_size);
void
transcode_cleanup(struct transcode_ctx *ctx);