[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/io/bmi: reference-list.c

CVS commit program cvs at parl.clemson.edu
Fri Aug 8 14:01:40 EDT 2008


Update of /projects/cvsroot/pvfs2-1/src/io/bmi
In directory parlweb1:/tmp/cvs-serv24068

Modified Files:
	reference-list.c 
Log Message:
Take the easy way out to silence a const warning.  In the long run, the
qhash comparison and hash functions would be better off with const
arguments but that requires updating a lot of code.


Index: reference-list.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/bmi/reference-list.c,v
diff -p -u -r1.16 -r1.17
--- reference-list.c	28 Jul 2008 18:55:29 -0000	1.16
+++ reference-list.c	8 Aug 2008 18:01:40 -0000	1.17
@@ -131,7 +131,7 @@ ref_st_p ref_list_search_str(ref_list_p 
 
     struct qhash_head* tmp_link;
 
-    tmp_link = qhash_search(str_table, idstring);
+    tmp_link = qhash_search(str_table, (char*)idstring);
     if(!tmp_link)
     {
         return(NULL);



More information about the Pvfs2-cvs mailing list