dect
/
libdect
Archived
13
0
Fork 0

ie: fix compilation error on 64 bit

src/ie.c:33: error: conflicting types for 'dect_ie_alloc'
include/dect/ie.h:49: error: previous declaration of 'dect_ie_alloc' was here
src/ie.c:44: error: conflicting types for 'dect_ie_alloc'
include/dect/ie.h:49: error: previous declaration of 'dect_ie_alloc' was here

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-03-10 13:45:14 +01:00
parent f8b7b0909f
commit 9bd59b4751
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@
* Information Elements
*/
struct dect_ie_common *dect_ie_alloc(const struct dect_handle *dh,
unsigned int size)
struct dect_ie_common *dect_ie_alloc(const struct dect_handle *dh, size_t size)
{
struct dect_ie_common *ie;