diff --git a/coders/sct.c b/coders/sct.c
index 2e615cf..ff8d500 100644
--- a/coders/sct.c
+++ b/coders/sct.c
@@ -210,9 +210,9 @@
   width=StringToDouble((char *) buffer);
   count=ReadBlob(image,12,buffer);
   buffer[12]='\0';
-  image->rows=1UL*StringToLong((char *) buffer);
+  image->rows=StringToUnsignedLong((char *) buffer);
   count=ReadBlob(image,12,buffer);
-  image->columns=1UL*StringToLong((char *) buffer);
+  image->columns=StringToUnsignedLong((char *) buffer);
   count=ReadBlob(image,200,buffer);
   count=ReadBlob(image,768,buffer);
   if (separations_mask == 0x0f)
diff --git a/coders/vicar.c b/coders/vicar.c
index 60db5f1..96c5112 100644
--- a/coders/vicar.c
+++ b/coders/vicar.c
@@ -258,13 +258,13 @@
         if (LocaleCompare(keyword,"LBLSIZE") == 0)
           length=(ssize_t) StringToLong(value);
         if (LocaleCompare(keyword,"RECORD_BYTES") == 0)
-          image->columns=1UL*StringToLong(value);
+          image->columns=StringToUnsignedLong(value);
         if (LocaleCompare(keyword,"NS") == 0)
-          image->columns=1UL*StringToLong(value);
+          image->columns=StringToUnsignedLong(value);
         if (LocaleCompare(keyword,"LINES") == 0)
-          image->rows=1UL*StringToLong(value);
+          image->rows=StringToUnsignedLong(value);
         if (LocaleCompare(keyword,"NL") == 0)
-          image->rows=1UL*StringToLong(value);
+          image->rows=StringToUnsignedLong(value);
       }
     while (isspace((int) ((unsigned char) c)) != 0)
     {
diff --git a/config/config.h.in b/config/config.h.in
index 3e509ac..e8a5c64 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -477,6 +477,9 @@
 /* Define to 1 if you have the `strtol' function. */
 #undef HAVE_STRTOL
 
+/* Define to 1 if you have the `strtoul' function. */
+#undef HAVE_STRTOUL
+
 /* Define to 1 if you have the `symlink' function. */
 #undef HAVE_SYMLINK
 
diff --git a/configure b/configure
index 53e0db5..9b55590 100755
--- a/configure
+++ b/configure
@@ -21798,7 +21798,7 @@
 
 
 
-for ac_func in _exit atexit clock directio execvp floor fork ftime ftruncate getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r localtime_r lstat memmove memset mkstemp munmap _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign pow pread pwrite raise rand_r readlink readdir_r realpath select seekdir setlocale sqrt setvbuf stat strchr strerror_r strrchr strcspn strdup strpbrk strspn strstr strtol symlink sysconf sigemptyset sigaction strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times usleep vsprintf vsnprintf waitpid _wfopen _wstat
+for ac_func in _exit atexit clock directio execvp floor fork ftime ftruncate getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r localtime_r lstat memmove memset mkstemp munmap _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign pow pread pwrite raise rand_r readlink readdir_r realpath select seekdir setlocale sqrt setvbuf stat strchr strerror_r strrchr strcspn strdup strpbrk strspn strstr strtol strtoul symlink sysconf sigemptyset sigaction strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times usleep vsprintf vsnprintf waitpid _wfopen _wstat
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
diff --git a/magick/magick-config.h b/magick/magick-config.h
index 85a197c..47df58c 100644
--- a/magick/magick-config.h
+++ b/magick/magick-config.h
@@ -730,6 +730,11 @@
 #define MAGICKCORE_HAVE_STRTOL  1 
 #endif
 
+/* Define to 1 if you have the `strtoul' function. */
+#ifndef MAGICKCORE_HAVE_STRTOUL 
+#define MAGICKCORE_HAVE_STRTOUL  1 
+#endif
+
 /* Define to 1 if you have the `symlink' function. */
 #ifndef MAGICKCORE_HAVE_SYMLINK 
 #define MAGICKCORE_HAVE_SYMLINK  1 
diff --git a/magick/version.h b/magick/version.h
index 07633d3..1b231fb 100644
--- a/magick/version.h
+++ b/magick/version.h
@@ -31,7 +31,7 @@
 #define MagickLibVersionText  "6.5.8"
 #define MagickLibVersionNumber  2,0,1
 #define MagickLibSubversion  "-7"
-#define MagickReleaseDate  "2009-12-15"
+#define MagickReleaseDate  "2009-12-17"
 #define MagickChangeDate   "20091213"
 #define MagickAuthoritativeURL  "http://www.imagemagick.org"
 #define MagickHomeURL  "file:///usr/local/share/doc/ImageMagick-6.5.8/index.html"