فهرست منبع

lcr_comp.h: size_t

* include/corosync/lcr/lcr_comp.h (struct lcr_comp, struct lcr_iface):

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2016 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 17 سال پیش
والد
کامیت
622bbd8299
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      include/corosync/lcr/lcr_comp.h

+ 3 - 3
include/corosync/lcr/lcr_comp.h

@@ -2,7 +2,7 @@
  * Copyright (C) 2006 Steven Dake (sdake@redhat.com)
  *
  * This software licensed under BSD license, the text of which follows:
- * 
+ *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
  *
@@ -40,7 +40,7 @@ struct lcr_iface {
 	int *versions_replace;		/* Versions that this interface can replace */
 	int versions_replace_count;	/* Count of entries in version_replace */
 	char **dependencies;		/* Dependent interfaces */
-	int dependency_count;		/* Count of entires in dependencies */
+	size_t dependency_count;	/* Count of entires in dependencies */
 	int (*constructor) (void *context);	/* Constructor for this interface */
 	void (*destructor) (void *context);	/* Constructor for this interface */
 	void **interfaces;		/* List of functions in interface */
@@ -51,7 +51,7 @@ struct lcr_iface {
  */
 struct lcr_comp {
 	struct lcr_iface *ifaces;	/* List of interfaces in this component */
-	int iface_count;		/* size of ifaces list */
+	size_t iface_count;		/* size of ifaces list */
 };
 
 extern void lcr_component_register (struct lcr_comp *comp);