Changeset 3317

Show
Ignore:
Timestamp:
05/04/08 22:40:57 (4 months ago)
Author:
dgollub
Message:

Change return value of osync_converter_path_num_edges() from int to
unsigned int. The length of a GList is in unsigned int.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/opensync/format/opensync_converter.c

    r3173 r3317  
    353353 * @returns the number of converters in the specified path 
    354354 */ 
    355 int osync_converter_path_num_edges(OSyncFormatConverterPath *path) 
     355unsigned int osync_converter_path_num_edges(OSyncFormatConverterPath *path) 
    356356{ 
    357357        osync_assert(path); 
  • trunk/opensync/format/opensync_converter.h

    r2953 r3317  
    5454 
    5555OSYNC_EXPORT void osync_converter_path_add_edge(OSyncFormatConverterPath *path, OSyncFormatConverter *edge); 
    56 OSYNC_EXPORT int osync_converter_path_num_edges(OSyncFormatConverterPath *path); 
     56OSYNC_EXPORT unsigned int osync_converter_path_num_edges(OSyncFormatConverterPath *path); 
    5757OSYNC_EXPORT OSyncFormatConverter *osync_converter_path_nth_edge(OSyncFormatConverterPath *path, unsigned int nth); 
    5858OSYNC_EXPORT const char *osync_converter_path_get_config(OSyncFormatConverterPath *path);