From 36a18e2401c5542507b5365787e6ed852e0236de Mon Sep 17 00:00:00 2001
From: Even Rouault <[EMAIL REDACTED]>
Date: Wed, 2 Nov 2022 12:28:01 +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 6e859e46..b7f088be 100644
--- a/libtiff/tif_dirread.c
+++ b/libtiff/tif_dirread.c
@@ -5013,7 +5013,7 @@ MissingRequired(TIFF* tif, const char* tagname)
* and its IFD number against that list. However, the offset of an IFD number
* can change - e.g. when writing updates to file.
* Returns 1 if all is ok; 0 if last directory or IFD loop is encountered,
- * or an error has occured.
+ * or an error has occurred.
*/
int
_TIFFCheckDirNumberAndOffset(TIFF *tif, uint16_t dirn, uint64_t diroff)