projects
/
platform
/
upstream
/
neardal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c360ca5
)
Fix warning
author
Frederic PAUT
<frederic.paut@linux.intel.com>
Thu, 14 Mar 2013 14:44:19 +0000
(15:44 +0100)
committer
Frederic PAUT
<frederic.paut@linux.intel.com>
Thu, 14 Mar 2013 14:44:19 +0000
(15:44 +0100)
ncl/ncl_cmd.c
patch
|
blob
|
history
diff --git
a/ncl/ncl_cmd.c
b/ncl/ncl_cmd.c
index
2f9ef85
..
f653017
100644
(file)
--- a/
ncl/ncl_cmd.c
+++ b/
ncl/ncl_cmd.c
@@
-328,7
+328,7
@@
static void ncl_cmd_cb_adapter_prop_changed(char *adpName, char *propName,
(void) user_data; /* remove warning */
if (!strcmp(propName, "Polling")) {
- polling = *(int*)value;
+ polling = *(int*)
&
value;
NCL_CMD_PRINTF("Polling=%d\n", polling);
} else
NCL_CMD_PRINTF("Adapter '%s' -> Property=%s=0x%X\n", adpName,