Merge branch 'maint' of git://repo.or.cz/git-gui into maint
[gitweb.git] / sha1_file.c
index be991ed22acb0c84141474360f345d51ccc594be..c2f807f4c282b99fe063e999ecf61a3dc12fb86d 100644 (file)
@@ -33,7 +33,7 @@ const unsigned char null_sha1[20];
 
 static unsigned int sha1_file_open_flag = O_NOATIME;
 
-signed char hexval_table[256] = {
+const signed char hexval_table[256] = {
         -1, -1, -1, -1, -1, -1, -1, -1,                /* 00-07 */
         -1, -1, -1, -1, -1, -1, -1, -1,                /* 08-0f */
         -1, -1, -1, -1, -1, -1, -1, -1,                /* 10-17 */