From: Bart Polot Date: Fri, 28 Oct 2011 11:44:26 +0000 (+0000) Subject: Fixed coverity #10198 X-Git-Tag: initial-import-from-subversion-38251~16172 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ac930dcaf830b5f87c477a1246e28a4027f12d9d;p=oweals%2Fgnunet.git Fixed coverity #10198 --- diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index e949a89e9..3c80a80f0 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c @@ -794,7 +794,7 @@ run (void *cls, char *const *args, const char *cfgfile, return; } - mesh_peers = GNUNET_malloc (sizeof(GNUNET_PEER_Id) * (num_peers + 1)); + mesh_peers = GNUNET_malloc (sizeof(uint16_t) * (num_peers + 1)); if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number (testing_cfg, "test_mesh_small",