Skip to content
Commit 1b803a35 authored by Luc Van Oostenryck's avatar Luc Van Oostenryck Committed by Yoshinori Sato
Browse files

h8300:let the checker know that size_t is ulong



All 64bit archs use unsigned long for size_t and most 32bit
archs use 'unsigned int'. By default, this is what is assumed
by sparse.

However, on h8300 (a 32bit arch) size_t is unsigned long which
can led sparse to emit wrong warnings.

Fix this by passing to sparse the flag -msize-long, telling it
that size_t is unsigned long.

Signed-off-by: default avatarLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
parent 9819d4e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment