Skip to content

Commit

Permalink
Use size_t in aufile_set_position
Browse files Browse the repository at this point in the history
  • Loading branch information
larsimmisch committed Sep 13, 2023
1 parent 96c2156 commit 41eb5c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/rem_aufile.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ int aufile_write(struct aufile *af, const uint8_t *p, size_t sz);
size_t aufile_get_size(struct aufile *af);
size_t aufile_get_length(struct aufile *af, struct aufile_prm *prm);
int aufile_set_position(struct aufile *af, const struct aufile_prm *prm,
off_t pos_ms);
size_t pos_ms);
2 changes: 1 addition & 1 deletion rem/aufile/aufile.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ size_t aufile_get_length(struct aufile *af, struct aufile_prm *prm)
* @return 0 if success, otherwise errorcode
*/
int aufile_set_position(struct aufile *af, const struct aufile_prm *prm,
off_t pos_ms)
size_t pos_ms)
{
if (!af || !prm)
return EINVAL;
Expand Down

0 comments on commit 41eb5c7

Please sign in to comment.