strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
array: Number of items in get_size() is unsigned
[strongswan.git]
/
src
/
libstrongswan
/
collections
/
array.c
diff --git
a/src/libstrongswan/collections/array.c
b/src/libstrongswan/collections/array.c
index
d92eaac
..
387e2a5
100644
(file)
--- a/
src/libstrongswan/collections/array.c
+++ b/
src/libstrongswan/collections/array.c
@@
-49,7
+49,7
@@
struct array_t {
/**
* Get the actual size of a number of elements
*/
/**
* Get the actual size of a number of elements
*/
-static size_t get_size(array_t *array,
in
t num)
+static size_t get_size(array_t *array,
u_int32_
t num)
{
if (array->esize)
{
{
if (array->esize)
{