summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-12-06 20:41:09 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-12-06 20:41:19 +0100
commit64662ff2ce0cbadeb8a596eee63667bc0e5130e4 (patch)
tree580d6e1abcee135e267da8983426344bae1232a4 /src/io.c
parentdb51503b6481577daead9e8534fec002d4d09e89 (diff)
downloadcalcurse-64662ff2ce0cbadeb8a596eee63667bc0e5130e4.zip
Fix two enumeration types in function signatures
Spotted with clang and "-Wconversion". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index 884e3a9..bef4c55 100644
--- a/src/io.c
+++ b/src/io.c
@@ -932,7 +932,7 @@ void io_export_data(enum export_type type)
}
}
-static FILE *get_import_stream(enum export_type type)
+static FILE *get_import_stream(enum import_type type)
{
FILE *stream = NULL;
char *stream_name;