projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Abb first skel of programmming AVR flash memory.
[bertos.git]
/
app
/
triface
/
cmd_ctor.h
diff --git
a/app/triface/cmd_ctor.h
b/app/triface/cmd_ctor.h
index bf4f3fb54d12d4cbd90d6e7c40910e8500ae4e0a..92107c15c8b370dc69265003904efe044a6d4f24 100755
(executable)
--- a/
app/triface/cmd_ctor.h
+++ b/
app/triface/cmd_ctor.h
@@
-29,7
+29,7
@@
const struct CmdTemplate cmd_ ## NAME ## _template = \
#define MAKE_CMD(NAME, ARGS, RES, BODY) \
static ResultCode cmd_ ## NAME (parms *args) \
{ \
#define MAKE_CMD(NAME, ARGS, RES, BODY) \
static ResultCode cmd_ ## NAME (parms *args) \
{ \
- return
BODY;
\
+ return
(ResultCode)BODY;
\
} \
MAKE_TEMPLATE(NAME, ARGS, RES)
} \
MAKE_TEMPLATE(NAME, ARGS, RES)