Navigation


Changeset 1284:38e4a7c318ac in freeDiameter for extensions/rt_randomize


Ignore:
Timestamp:
Jan 4, 2015, 1:55:57 AM (9 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a number of compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rt_randomize/rt_randomize.c

    r1278 r1284  
    3939#include <stdlib.h>
    4040
    41 static int seed;
     41static unsigned int seed;
    4242
    4343static int rt_randomizing(void * cbdata, struct msg ** pmsg, struct fd_list * candidates)
     
    9696        /* Register the callback */
    9797        CHECK_FCT(fd_rt_out_register(rt_randomizing, NULL, 4, &rt_randomizing_hdl));
    98         seed = (int)time(NULL);
     98        seed = (unsigned int)time(NULL);
    9999        TRACE_DEBUG(INFO, "Extension 'Randomizing' initialized");
    100100        return 0;
Note: See TracChangeset for help on using the changeset viewer.