lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] possible mistake in mem.h


From: Iordan Neshev
Subject: [lwip-devel] possible mistake in mem.h
Date: Wed, 30 Jan 2008 14:14:49 +0100
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)

Hello,

Please look at mem.h, line 83:
void *mem_calloc(size_t count, size_t size);

We think that the type should be mem_size_t, not just size_t;

Under VisualC there is no problem because size_t is defined.
However, when we ported the source to the embedded target,
its compiler complained.

typedef u16_t size_t; solves the problem, but it's not the right way to do it.
Are we right?

Regards,
Iordan Neshev
Daisy Technology (www.daisytechbg.com)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]