Commit d643916c authored by Sam Schmalzried's avatar Sam Schmalzried

fixed quads array size

parent 916dac2e
......@@ -6,7 +6,7 @@ void hexToBinary(char*, char*);
char* hexQuads(char);
void binaryTo64(char*, char*);
char quads[16][4] = {
char quads[16][5] = {
"0000",
"0001",
"0010",
......@@ -37,6 +37,8 @@ int main(int argc, char* argv[]) {
hexToBinary(argv[1], binaryString);
printf("%s\n", binaryString);
free(binaryString);
//free(base64String);
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment