diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-28 11:44:26 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-28 11:44:26 +0000 |
commit | ac930dcaf830b5f87c477a1246e28a4027f12d9d (patch) | |
tree | 000c42cae2a6363fd298484d37ed578f0bedfe1c /src/mesh | |
parent | e936260a516bd0382df5a9be187392c8745acc89 (diff) | |
download | gnunet-ac930dcaf830b5f87c477a1246e28a4027f12d9d.tar.gz gnunet-ac930dcaf830b5f87c477a1246e28a4027f12d9d.zip |
Fixed coverity #10198
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/test_mesh_small.c | 2 |
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, | |||
794 | return; | 794 | return; |
795 | } | 795 | } |
796 | 796 | ||
797 | mesh_peers = GNUNET_malloc (sizeof(GNUNET_PEER_Id) * (num_peers + 1)); | 797 | mesh_peers = GNUNET_malloc (sizeof(uint16_t) * (num_peers + 1)); |
798 | 798 | ||
799 | if (GNUNET_OK != | 799 | if (GNUNET_OK != |
800 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "test_mesh_small", | 800 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "test_mesh_small", |