The FSF has a new address.
[bpt/guile.git] / libguile / srfi-13.c
index d727a08..01e6805 100644 (file)
@@ -1,6 +1,6 @@
 /* srfi-13.c --- SRFI-13 procedures for Guile
  *
- * Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -14,7 +14,7 @@
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 
@@ -2473,7 +2473,7 @@ string_titlecase_x (SCM str, size_t start, size_t end)
   size_t i;
   int in_word = 0;
 
-  sz = scm_i_string_writable_chars (str);
+  sz = (unsigned char *) scm_i_string_writable_chars (str);
   for(i = start; i < end;  i++)
     {
       if (scm_is_true (scm_char_alphabetic_p (SCM_MAKE_CHAR (sz[i]))))
@@ -2656,6 +2656,7 @@ SCM_DEFINE (scm_string_concatenate, "string-concatenate", 1, 0, 0,
            "allocated string.")
 #define FUNC_NAME s_scm_string_concatenate
 {
+  SCM_VALIDATE_LIST (SCM_ARG1, ls);
   return scm_string_append (ls);
 }
 #undef FUNC_NAME
@@ -2695,6 +2696,7 @@ SCM_DEFINE (scm_string_concatenate_shared, "string-concatenate/shared", 1, 0, 0,
            "with the strings in the list @var{ls}.")
 #define FUNC_NAME s_scm_string_concatenate_shared
 {
+  SCM_VALIDATE_LIST (SCM_ARG1, ls);
   return scm_string_append_shared (ls);
 }
 #undef FUNC_NAME