aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Write2D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Write2D.c b/src/Write2D.c
index 874ec76..216308c 100644
--- a/src/Write2D.c
+++ b/src/Write2D.c
@@ -156,7 +156,7 @@ int IOJpeg_Write2D (cGH *GH, int index, const char *alias)
********************************************** */
/* Close the file */
- close (fdset_2D [si]);
+ fclose (fdset_2D [si]);
}