about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-04-03 02:56:43 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-04-03 02:56:43 +0000
commite4d50806f5a07b6a121d769647ec5a81d1968de5 (patch)
tree09ea02b256c485989778b406c780f1ded25383e1 /converter/other
parent9063f6efea80c35467627eefac70118c87ad2bd7 (diff)
downloadnetpbm-mirror-e4d50806f5a07b6a121d769647ec5a81d1968de5.tar.gz
netpbm-mirror-e4d50806f5a07b6a121d769647ec5a81d1968de5.tar.xz
netpbm-mirror-e4d50806f5a07b6a121d769647ec5a81d1968de5.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1174 9d0c8265-081b-0410-96cb-a4ca84ce46f8
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)