commit | 3d089dfe0f6fa536222bc949f4c1221ee69540cd | [log] [tgz] |
---|---|---|
author | Alexander Polleti <metapsycholo@gmail.com> | Wed Sep 05 15:28:13 2018 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Sep 06 11:38:48 2018 -0400 |
tree | da8e5981260c44d6fcc15da68a1f9f744d2d7513 | |
parent | 8a5b0b77f5302180bce843bc6532cd668035371e [diff] |
c++: fix comparison between signed and unsigned types comparing int i with size_t size generates a sign-compare warning. This commit solves the issue by giving i the type needed. As older c standards do not allow to declare i after stack += 4 I inserted the variable checked_stack that gets the type we need in the comparison. Signed-off-by: Alexander Polleti <metapsycholo@gmail.com>