Skip to content

Commit

Permalink
int as return type for aufile_set_position (doh)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsimmisch committed Sep 8, 2023
1 parent afb618d commit 790d9d3
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 @@ -26,5 +26,5 @@ int aufile_read(struct aufile *af, uint8_t *p, size_t *sz);
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);
size_t aufile_set_position(struct aufile *af, struct aufile_prm *prm,
int aufile_set_position(struct aufile *af, struct aufile_prm *prm,
off_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 @@ -287,7 +287,7 @@ size_t aufile_get_length(struct aufile *af, struct aufile_prm *prm)
*
* @return 0 if success, otherwise errorcode
*/
size_t aufile_set_position(struct aufile *af, struct aufile_prm *prm,
int aufile_set_position(struct aufile *af, struct aufile_prm *prm,
off_t pos_ms)
{
struct wav_fmt fmt;
Expand Down

0 comments on commit 790d9d3

Please sign in to comment.