latester: Fix GCC 4.9 warnings
[can-benchmark.git] / latester / test.c
1 #include <stdio.h>
2 #include "canframelen.h"
3
4 int main(int argc, char *argv[])
5 {
6         struct can_frame cf = { .can_id = 0x123, .can_dlc = 2, .data = { 0x00, 0xff } };
7         printf("Length: %u\n", calc_frame_length(&cf));
8         return 0;
9 }