Navigation


Changeset 403:26aafbbc1640 in freeDiameter for extensions/rt_default/rtd_rules.c


Ignore:
Timestamp:
Jul 8, 2010, 2:24:19 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Cleanup all compilation warnings in base code for 32 bit arch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rt_default/rtd_rules.c

    r258 r403  
    307307}
    308308
    309 /* Search in list (targets or rules) the next matching item for string str(len). Returned in next_match, or *next_match == NULL if no more match. Re-enter with same next_match for the next one. */
     309/* Search in list (targets or rules) the next matching item for octet string str(len). Returned in next_match, or *next_match == NULL if no more match. Re-enter with same next_match for the next one. */
    310310static int get_next_match(struct fd_list * list, char * str, size_t len, struct fd_list ** next_match)
    311311{
     
    577577                                                r = NULL;
    578578                                                do {
    579                                                         CHECK_FCT ( get_next_match( &target->rules[j], parsed_msg_avp[j].avp->os.data, parsed_msg_avp[j].avp->os.len, (void *)&r) );
     579                                                        CHECK_FCT ( get_next_match( &target->rules[j], (char *) /* is this cast safe? */ parsed_msg_avp[j].avp->os.data, parsed_msg_avp[j].avp->os.len, (void *)&r) );
    580580                                                        if (!r)
    581581                                                                break;
Note: See TracChangeset for help on using the changeset viewer.