]>
Commit | Line | Data |
---|---|---|
80ee600a | 1 | |
2 | ullint.c: (in function main) | |
3 | ullint.c:24:3: Assignment of int to unsigned char: c = 0x01 | |
4 | ullint.c:29:11: Operands of < have incompatible types (int, size_t): | |
5 | i < sizeof((src)) | |
6 | ullint.c:35:26: Array element src[0] used before definition | |
7 | ullint.c:35:3: Assignment of unsigned char to pan_uint32_t: | |
8 | ui32 = (pan_uint32_t)((src[0] ^ 0xFC) << 30) | ((src[1] ^ 0x80) << 24) | | |
9 | ((src[2] ^ 0x80) << 18) | ((src[3] ^ 0x80) << 12) | ((src[4] ^ 0x80) << 6) | |
10 | | (src[5] ^ 0x80) | |
11 | ullint.c:37:3: Assignment of unsigned char to pan_uint32_t: d = c | |
12 | ||
13 | Finished LCLint checking --- 5 code errors found, as expected | |
14 | ||
15 | ullint.c: (in function main) | |
16 | ullint.c:29:11: Operands of < have incompatible types (int, size_t): | |
17 | i < sizeof((src)) | |
18 | ullint.c:35:26: Array element src[0] used before definition | |
19 | ||
20 | Finished LCLint checking --- 2 code errors found, as expected |