hpux compiler warning setbit >> SETBIT
Karel Miko
8 years ago
17 | 17 | |
18 | 18 | #ifdef LTC_DER |
19 | 19 | |
20 | #define setbit(v, n) (v=((unsigned char)(v) | (1U << (unsigned char)(n)))) | |
20 | #define SETBIT(v, n) (v=((unsigned char)(v) | (1U << (unsigned char)(n)))) | |
21 | 21 | |
22 | 22 | /** |
23 | 23 | Store a BIT STRING |
86 | 86 | /* decode/store the bits */ |
87 | 87 | for (y = 0; y < blen; y++) { |
88 | 88 | if (in[x] & (1 << (7 - (y & 7)))) { |
89 | setbit(out[y/8], 7-(y%8)); | |
89 | SETBIT(out[y/8], 7-(y%8)); | |
90 | 90 | } |
91 | 91 | if ((y & 7) == 7) { |
92 | 92 | ++x; |