From a90728153221670002fcc185baf32175bb5b89ef Mon Sep 17 00:00:00 2001
From: Even Rouault <[EMAIL REDACTED]>
Date: Sat, 12 Nov 2022 02:24:11 +0100
Subject: [PATCH] tif_dirread.c: fix typo in comment
---
libtiff/tif_dirread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libtiff/tif_dirread.c b/libtiff/tif_dirread.c
index 47897a21..92cf6e96 100644
--- a/libtiff/tif_dirread.c
+++ b/libtiff/tif_dirread.c
@@ -5092,7 +5092,7 @@ _TIFFCheckDirNumberAndOffset(TIFF *tif, uint16_t dirn, uint64_t diroff)
* from the list of directories already seen.
* Returns 1 if the offset was in the list and the directory number
* can be returned.
- * Otherwise returns 0 or if an error occured.
+ * Otherwise returns 0 or if an error occurred.
*/
int
_TIFFGetDirNumberFromOffset(TIFF *tif, uint64_t diroff, uint16_t* dirn)