Prevent const poisoning - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 2d3150323478c6da19828908e52ed50a032dcef9 DIR parent 08ce46a1676cb97679211c88693d6687ec02d4be HTML 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 @@ -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 @@ -81,7 +81,7 @@ hash_name2type(char *name) return algo->type; } -const char * +char * hash_type2name(int type) { struct algomap *algo;