diff options
author | 2019-02-10 12:49:21 +0100 | |
---|---|---|
committer | 2019-02-11 14:32:16 +0100 | |
commit | 4c8876424cca41c8ce8ce67c1c0a394932cbdd58 (patch) | |
tree | 03ce5e673a9409b35ba7abf65e1740309ef44653 /libtransport/src/hicn/transport/core/prefix.cc | |
parent | 731e1188262be87d962f5694022fc74928d889b0 (diff) |
[HICN-46] Remove warnings libtransport on windows
Change-Id: I09456770dcbca979491cdcadb310eab95a0dea17
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/core/prefix.cc')
-rw-r--r-- | libtransport/src/hicn/transport/core/prefix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/core/prefix.cc b/libtransport/src/hicn/transport/core/prefix.cc index 575bcc2ed..74d1466ac 100644 --- a/libtransport/src/hicn/transport/core/prefix.cc +++ b/libtransport/src/hicn/transport/core/prefix.cc @@ -155,7 +155,7 @@ Prefix &Prefix::setNetwork(std::string &network) { } Name Prefix::makeRandomName() const { - srand(time(nullptr)); + srand((unsigned int)time(nullptr)); if (ip_address_.family == AF_INET6) { std::default_random_engine eng((std::random_device())()); |