summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2005-09-22 09:45:21 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2005-09-22 09:45:21 +0000
commit8ec04d8cdaabc246f553186fc811727bc77e1835 (patch)
treed64a7ea56b3c1e277999ad68b1db8230f7658bd4
parentcae5b38f17a7a948409ff02de73db3c25d4fc7a7 (diff)
downloadcanutils-8ec04d8cdaabc246f553186fc811727bc77e1835.tar.gz
use unsigned type for dumping
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-1.0-trunk@44 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
-rw-r--r--candump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/candump.c b/candump.c
index 9c0c601..b6681bb 100644
--- a/candump.c
+++ b/candump.c
@@ -126,7 +126,7 @@ int main(int argc, char **argv)
printf("[%d] ", frame.can_dlc);
for (i = 0; i < frame.can_dlc; i++) {
- printf("%02x ", frame.payload.data[i]);
+ printf("%02x ", frame.payload.data_u8[i]);
}
if (frame.can_id & CAN_FLAG_RTR)
printf("remote request");