diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-04 21:36:09 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-03-04 21:36:09 +0100 |
commit | 3639c7ae91f5226b71cdba8d8cc98eae4bba7e07 (patch) | |
tree | 297a75e515bc0519ace053de577fd8cba5c2c94c | |
parent | a7012a54180386b5dc7f86fe6a1564690ecc8240 (diff) | |
download | px4-firmware-3639c7ae91f5226b71cdba8d8cc98eae4bba7e07.tar.gz px4-firmware-3639c7ae91f5226b71cdba8d8cc98eae4bba7e07.tar.bz2 px4-firmware-3639c7ae91f5226b71cdba8d8cc98eae4bba7e07.zip |
Fixed warning
-rw-r--r-- | src/modules/px4iofirmware/mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/px4iofirmware/mixer.cpp b/src/modules/px4iofirmware/mixer.cpp index 6a4429461..dfa98d425 100644 --- a/src/modules/px4iofirmware/mixer.cpp +++ b/src/modules/px4iofirmware/mixer.cpp @@ -327,7 +327,7 @@ mixer_handle_text(const void *buffer, size_t length) return 1; } - px4io_mixdata *msg = (px4io_mixdata *)buffer; + px4io_mixdata *msg = static_cast<px4io_mixdata *>(buffer); isr_debug(2, "mix txt %u", length); |