mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-12 21:41:28 +00:00
Change type of members of struct stats_mem to "mem_size_t" (Bug #1694)
This commit is contained in:
parent
4b9e035a9f
commit
05a91a4725
@ -35,6 +35,7 @@
|
|||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#include "arch/cc.h"
|
#include "arch/cc.h"
|
||||||
|
|
||||||
|
#include "lwip/mem.h"
|
||||||
#include "lwip/memp.h"
|
#include "lwip/memp.h"
|
||||||
|
|
||||||
#ifdef STATS
|
#ifdef STATS
|
||||||
@ -56,11 +57,11 @@ struct stats_proto {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct stats_mem {
|
struct stats_mem {
|
||||||
u16_t avail;
|
mem_size_t avail;
|
||||||
u16_t used;
|
mem_size_t used;
|
||||||
u16_t max;
|
mem_size_t max;
|
||||||
u16_t err;
|
mem_size_t err;
|
||||||
u16_t reclaimed;
|
mem_size_t reclaimed;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct stats_pbuf {
|
struct stats_pbuf {
|
||||||
|
Loading…
Reference in New Issue
Block a user