# HG changeset patch
# User enz
# Date 958152487 -3600
# Node ID 53cfa011a08c499fc8d9e1f63a0309203c45a8c8
# Parent  adf0af5152f71ac34c5b31802cc162bcaf5e415e
[svn] Avoid compiler warning because of cast from const to non-const.

diff -r adf0af5152f7 -r 53cfa011a08c src/fetchlist.c
--- a/src/fetchlist.c	Fri May 12 18:19:38 2000 +0100
+++ b/src/fetchlist.c	Fri May 12 18:28:07 2000 +0100
@@ -1,7 +1,7 @@
 /*
   fetchlist.c
 
-  $Id: fetchlist.c 67 2000-05-12 17:19:38Z enz $
+  $Id: fetchlist.c 68 2000-05-12 17:28:07Z enz $
 */
 
 #if HAVE_CONFIG_H
@@ -45,8 +45,8 @@
 static int
 compareElem( const void *elem1, const void *elem2 )
 {
-    struct Elem* e1 = (struct Elem*)elem1; 
-    struct Elem* e2 = (struct Elem*)elem2;
+    const struct Elem* e1 = (const struct Elem*)elem1; 
+    const struct Elem* e2 = (const struct Elem*)elem2;
     return strcmp( e1->name, e2->name );
 }