Update copyright year + FSF address
[idzebra-moved-to-github.git] / util / charmap.c
index b1042bc..298c058 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: charmap.c,v 1.29.2.5 2005-03-11 21:10:13 adam Exp $
+/* $Id: charmap.c,v 1.29.2.7 2006-08-14 10:39:24 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
 */
 
 
@@ -101,11 +101,12 @@ static chr_t_entry *set_map_string(chr_t_entry *root, NMEM nmem,
     }
     if (!len)
     {
-       if (!root->target || !root->target[0] || strcmp(root->target[0], to))
+       if (!root->target || !root->target[0] || strcmp((const char *)
+                                                       root->target[0], to))
        {
             if (from_0 && 
                 root->target && root->target[0] && root->target[0][0] &&
-                strcmp (root->target[0], CHR_UNKNOWN))
+                strcmp ((const char *)root->target[0], CHR_UNKNOWN))
             {
                 yaz_log (LOG_WARN, "duplicate entry for charmap from '%s'",
                          from_0);