commit 2d3150323478c6da19828908e52ed50a032dcef9
parent 08ce46a1676cb97679211c88693d6687ec02d4be
Author: sin <sin@2f30.org>
Date: Sat, 13 Apr 2019 11:06:14 +0100
Prevent const poisoning
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compress.c b/compress.c
@@ -99,7 +99,7 @@ compr_name2type(char *name)
return algo->type;
}
-const char *
+char *
compr_type2name(int type)
{
struct algomap *algo;
diff --git a/hash.c b/hash.c
@@ -81,7 +81,7 @@ hash_name2type(char *name)
return algo->type;
}
-const char *
+char *
hash_type2name(int type)
{
struct algomap *algo;