summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sratom.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sratom.c b/src/sratom.c
index 4d8add7..272e6e3 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -14,8 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#define __STDC_LIMIT_MACROS 1
-
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
@@ -36,7 +34,7 @@
typedef enum {
MODE_SUBJECT,
MODE_BODY,
- MODE_SEQUENCE,
+ MODE_SEQUENCE
} ReadMode;
struct SratomImpl {
@@ -600,7 +598,6 @@ read_node(Sratom* sratom,
for (const char* s = str; s < str + len; s += 2) {
unsigned num;
sscanf(s, "%2X", &num);
- assert(num < UINT8_MAX);
const uint8_t c = num;
lv2_atom_forge_raw(forge, &c, 1);
}