Bumped seek whence up to uint32_t

I can't think of a reason this should be uint8_t. Bumping it up to
uint32_t matches the type used for other flags (even though whence is
arguably not flags in a strict sense).

No code changes.
This commit is contained in:
Christopher Haster
2025-11-15 02:01:04 -06:00
parent ca678538d4
commit 867d201bce
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1510,7 +1510,7 @@ lfs3_ssize_t lfs3_file_write(lfs3_t *lfs3, lfs3_file_t *file,
// The change in position is determined by the offset and whence flag.
// Returns the new position of the file, or a negative error code on failure.
lfs3_soff_t lfs3_file_seek(lfs3_t *lfs3, lfs3_file_t *file,
lfs3_soff_t off, uint8_t whence);
lfs3_soff_t off, uint32_t whence);
// Truncate/grow the size of the file to the specified size
//