tPrevent const poisoning - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2d3150323478c6da19828908e52ed50a032dcef9
(DIR) parent 08ce46a1676cb97679211c88693d6687ec02d4be
(HTM) Author: sin <sin@2f30.org>
Date: Sat, 13 Apr 2019 11:06:14 +0100
Prevent const poisoning
Diffstat:
M compress.c | 2 +-
M hash.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/compress.c b/compress.c
t@@ -99,7 +99,7 @@ compr_name2type(char *name)
return algo->type;
}
-const char *
+char *
compr_type2name(int type)
{
struct algomap *algo;
(DIR) diff --git a/hash.c b/hash.c
t@@ -81,7 +81,7 @@ hash_name2type(char *name)
return algo->type;
}
-const char *
+char *
hash_type2name(int type)
{
struct algomap *algo;