* return a const char instead
[citadel.git] / libcitadel / lib / hash.c
index 1de53624da09f57355213fb1b6100bdb1263db85..20e0f1222690510df5441ab5767ff96a0aee5e2c 100644 (file)
@@ -565,7 +565,7 @@ void DeleteHashPos(HashPos **DelMe)
  * \param Data returns the Data found at HashPos
  * \returns whether the item was found or not.
  */
-int GetNextHashPos(HashList *Hash, HashPos *At, long *HKLen, char **HashKey, void **Data)
+int GetNextHashPos(HashList *Hash, HashPos *At, long *HKLen, const char **HashKey, void **Data)
 {
        long PayloadPos;