aboutsummaryrefslogtreecommitdiff
path: root/dictionary.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2021-12-06 00:30:18 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2021-12-06 00:30:18 -0500
commitbf6b57adcd220c3704469cd06f21445e0eb13888 (patch)
tree95a88339186c834b57946ff36933aea666770ed6 /dictionary.c
parent61b4313d03a93f50c5cb9d7320f3db7c21caa9f3 (diff)
downloadjdtalkc-bf6b57adcd220c3704469cd06f21445e0eb13888.tar.gz
Add DEFAULT_FORMAT define
Diffstat (limited to 'dictionary.c')
-rw-r--r--dictionary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dictionary.c b/dictionary.c
index a0c8f72..3766525 100644
--- a/dictionary.c
+++ b/dictionary.c
@@ -172,7 +172,7 @@ struct Dictionary *dictionary_populate() {
* @param s dictionary word to search for
* @return a string containing the word types (i.e. n,a,d,v)
*/
-char *dictionary_word_formats(struct Dictionary *dict, char *s) {
+char *dictionary_word_formats(struct Dictionary *dict, const char *s) {
static char buf[OUTPUT_SIZE_MAX];
buf[0] = '\0';