From e2b2376a9c8e62bf199d5bb66838219249ffe719 Mon Sep 17 00:00:00 2001 From: Zachary Vance Date: Sun, 14 May 2017 02:19:59 -0700 Subject: [PATCH] Fix warnings --- io.c | 2 +- xor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/io.c b/io.c index 71438e7..9713754 100644 --- a/io.c +++ b/io.c @@ -43,7 +43,7 @@ int decode_hex(char* src, char* dest, int *destlen) { return 1; } -void encode_base64(const char* src_bytes, int src_size, char* dest) { +void encode_base64(char* src_bytes, int src_size, char* dest) { const char conversion[65] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; const char padding = ' '; char* srcp = src_bytes; diff --git a/xor.c b/xor.c index ad84b89..33bfcc9 100644 --- a/xor.c +++ b/xor.c @@ -1,4 +1,4 @@ -xor(char* buf1, char* buf2, char* buf3, int length) { +void xor(char* buf1, char* buf2, char* buf3, int length) { int i; for(i=0; i