Enable -Weverything, fix a ton of bugs.

This commit is contained in:
Ian Gulliver
2016-02-25 23:37:37 -08:00
parent fe2486c398
commit 19a9d498bd
40 changed files with 220 additions and 184 deletions

View File

@@ -5,7 +5,7 @@
#include "uuid.h"
void uuid_gen(char *out) {
void uuid_gen(uint8_t *out) {
uint8_t uuid[16];
rand_fill(uuid, 16);
uuid[6] = (uuid[6] & 0x0F) | 0x40;