about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/fiasco/codec/dfiasco.c1
-rw-r--r--converter/other/fiasco/lib/image.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/converter/other/fiasco/codec/dfiasco.c b/converter/other/fiasco/codec/dfiasco.c
index 48c222aa..7d98f5f8 100644
--- a/converter/other/fiasco/codec/dfiasco.c
+++ b/converter/other/fiasco/codec/dfiasco.c
@@ -14,6 +14,7 @@
  *  $State: Exp $
  */
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "nstring.h"
diff --git a/converter/other/fiasco/lib/image.c b/converter/other/fiasco/lib/image.c
index 30fefdd2..56275f2e 100644
--- a/converter/other/fiasco/lib/image.c
+++ b/converter/other/fiasco/lib/image.c
@@ -241,7 +241,7 @@ alloc_image (unsigned width, unsigned height, bool_t color, format_e format)
    image->format      = format;
    image->reference_count = 1;
    
-   strcpy (image->id, "IFIASCO");
+   STRSCPY(image->id, "IFIASCO");
 
    for (band = first_band (color); band <= last_band (color); band++)
       if (format == FORMAT_4_2_0 && band != Y)