>From 033bae60e13872d1f4bfacb01db944d43daf9cc3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Mon, 6 Apr 2009 18:42:51 +0200
Subject: [PATCH] lcr_comp.h: size_t

* include/corosync/lcr/lcr_comp.h (struct lcr_comp, struct lcr_iface):
---
 include/corosync/lcr/lcr_comp.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/corosync/lcr/lcr_comp.h b/include/corosync/lcr/lcr_comp.h
index 286b127..084cda6 100644
--- a/include/corosync/lcr/lcr_comp.h
+++ b/include/corosync/lcr/lcr_comp.h
@@ -2,7 +2,7 @@
  * Copyright (C) 2006 Steven Dake ([email protected])
  *
  * 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);
-- 
1.6.2.rc1.285.gc5f54

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to