From ac930dcaf830b5f87c477a1246e28a4027f12d9d Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 28 Oct 2011 11:44:26 +0000 Subject: Fixed coverity #10198 --- src/mesh/test_mesh_small.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesh') 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", -- cgit v1.2.3