summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher/bin2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/bin2c.c')
-rw-r--r--rbutil/sansapatcher/bin2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/sansapatcher/bin2c.c b/rbutil/sansapatcher/bin2c.c
index 85941a1de0..7b0606912b 100644
--- a/rbutil/sansapatcher/bin2c.c
+++ b/rbutil/sansapatcher/bin2c.c
@@ -39,7 +39,7 @@ static off_t filesize(int fd)
return buf.st_size;
}
-static int write_cfile(unsigned char* buf, off_t len, char* cname)
+static int write_cfile(const unsigned char* buf, off_t len, const char* cname)
{
char filename[256];
FILE* fp;
@@ -72,7 +72,7 @@ static int write_cfile(unsigned char* buf, off_t len, char* cname)
return 0;
}
-static int write_hfile(off_t len, char* cname)
+static int write_hfile(off_t len, const char* cname)
{
char filename[256];
FILE* fp;