We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad1fd32 commit bb21d77Copy full SHA for bb21d77
1 file changed
src/core/asn1.c
@@ -14,7 +14,13 @@
14
* limitations under the License.
15
*/
16
17
+#ifdef __AVR__
18
+#define BYTE_ORDER 0xaa55
19
+#define LITTLE_ENDIAN 0xaa55
20
+#define BIG_ENDIAN 0x55aa
21
+#else
22
#include <endian.h>
23
+#endif
24
#include <nat20/asn1.h>
25
#include <nat20/oid.h>
26
#include <nat20/stream.h>
@@ -186,7 +192,7 @@ static void n20_asn1_integer_internal_content(n20_stream_t *const s, void *ctx)
186
192
// compilation unit and assure that it is never NULL.
187
193
uint8_t const *msb = number->n.buffer;
188
194
uint8_t const *end = number->n.buffer + number->n.size;
189
- ssize_t inc = 1;
195
+ int inc = 1;
190
196
int add_extra = 0;
191
197
uint8_t extra = 0;
198
0 commit comments