commit: r360 - trunk/daemon

[email protected]
Newsgroups gmane.network.spread.cvs
Message-ID <[email protected]>
Author: jonathan
Date: 2006-11-13 19:31:16 -0500 (Mon, 13 Nov 2006)
New Revision: 360

Modified:
   trunk/daemon/Changelog
   trunk/daemon/groups.c
Log:
Fix compile warning by adding const type for comparison
pointers.


Modified: trunk/daemon/Changelog
===================================================================
--- trunk/daemon/Changelog	2006-11-14 00:30:00 UTC (rev 359)
+++ trunk/daemon/Changelog	2006-11-14 00:31:16 UTC (rev 360)
@@ -1,3 +1,8 @@
+Mon Nov 13 19:30:30 2006  Jonathan Stanton  <[email protected]>
+
+	* groups.c (G_compare_daemon_vs_set): Fix compile warning
+	by adding const to type of comparision variables.
+
 Mon Nov 13 19:28:33 2006  Jonathan Stanton  <[email protected]>
 
 	* arch.h: Fix byte type to correctly be defined on all 

Modified: trunk/daemon/groups.c
===================================================================
--- trunk/daemon/groups.c	2006-11-14 00:30:00 UTC (rev 359)
+++ trunk/daemon/groups.c	2006-11-14 00:31:16 UTC (rev 360)
@@ -202,8 +202,8 @@
         int                   cmp = G_compare_memb_ids(&da->memb_id, &db->memb_id);
 
 	if ( cmp == 0 ) {
-	        int32 * da_proc_id_ptr = &da->proc_id;
-	        int32 * db_proc_id_ptr = &db->proc_id;
+	        const int32 * da_proc_id_ptr = &da->proc_id;
+	        const int32 * db_proc_id_ptr = &db->proc_id;
 
 		cmp = G_compare_proc_ids_by_conf( &da_proc_id_ptr, &db_proc_id_ptr );
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.