Skip to content

Commit

Permalink
fix pedantic warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gray committed Nov 30, 2010
1 parent b27b36a commit 4281fcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JH.xs
Expand Up @@ -9,7 +9,7 @@
#include "src/jh.c"

static int
hex_encode (char *dest, const char *src, int len) {
hex_encode (char *dest, const char unsigned *src, int len) {
static const char hex[] = "0123456789abcdef";
char *p = dest;
const unsigned char *s = src;
Expand All @@ -21,7 +21,7 @@ hex_encode (char *dest, const char *src, int len) {
}

static int
base64_encode (char *dest, const char *src, int len) {
base64_encode (char *dest, const char unsigned *src, int len) {
static const char b64[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
char *p = dest;
Expand Down

0 comments on commit 4281fcb

Please sign in to comment.