summaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-28 11:44:26 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-28 11:44:26 +0000
commitac930dcaf830b5f87c477a1246e28a4027f12d9d (patch)
tree000c42cae2a6363fd298484d37ed578f0bedfe1c /src/mesh
parente936260a516bd0382df5a9be187392c8745acc89 (diff)
Fixed coverity #10198
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/test_mesh_small.c2
1 files changed, 1 insertions, 1 deletions
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",