projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0428a73
)
Fix warning with gcc 4.6.1 (and also nightly test).
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 16 Dec 2011 12:04:28 +0000
(12:04 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 16 Dec 2011 12:04:28 +0000
(12:04 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5183
38d2e660
-2303-0410-9eaa-
f027e97ec537
bertos/net/ax25.h
patch
|
blob
|
history
diff --git
a/bertos/net/ax25.h
b/bertos/net/ax25.h
index dd439445465495b37357bff42766af1281bbe39b..b8ebe47cf76de0a13ec3af0849a29cf19e4766a1 100644
(file)
--- a/
bertos/net/ax25.h
+++ b/
bertos/net/ax25.h
@@
-183,7
+183,7
@@
void ax25_sendVia(AX25Ctx *ctx, const AX25Call *path, size_t path_len, const voi
*
* \see ax25_sendVia() if you want to send a frame with a specific path.
*/
-#define ax25_send(ctx, dst, src, buf, len) ax25_sendVia(ctx, ({static AX25Call __path[]={dst, src}; __path;}), 2, buf, len)
+#define ax25_send(ctx, dst, src, buf, len) ax25_sendVia(ctx, ({static AX25Call __path[]={dst, src};
(AX25Call *)&
__path;}), 2, buf, len)
void ax25_init(AX25Ctx *ctx, KFile *channel, ax25_callback_t hook);
void ax25_print(KFile *ch, const AX25Msg *msg);