commit | c9ea386cd6036b9f51d95b31f6dd269429f30c31 | [log] [tgz] |
---|---|---|
author | Jim Schaad <ietf@augustcellars.com> | Wed Sep 02 11:34:39 2015 -0700 |
committer | Jim Schaad <ietf@augustcellars.com> | Wed Sep 02 11:34:39 2015 -0700 |
tree | 18d352a05aac43211aaa9fd917841d2dce7125ac | |
parent | 245827d6376551a82c3fe74cc701d7ce96d41774 [diff] |
Fix build error with type byte Fix build error with type byte
diff --git a/src/cn-encoder.c b/src/cn-encoder.c index 5ec123e..a476b82 100644 --- a/src/cn-encoder.c +++ b/src/cn-encoder.c
@@ -45,7 +45,7 @@ return; \ } -inline void write_byte_and_data(cn_write_state * ws, byte b, const byte * data, size_t sz) +inline void write_byte_and_data(cn_write_state * ws, uint8_t b, const uint8_t * data, size_t sz) { if (ws->buf != NULL) { ws->buf[ws->offset++] = (b);