summaryrefslogtreecommitdiff
path: root/src/e.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/e.c')
-rw-r--r--src/e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/e.c b/src/e.c
index 30e48ee..405fafb 100644
--- a/src/e.c
+++ b/src/e.c
@@ -104,8 +104,8 @@ enl_ipc_get_win(void)
}
/* Make sure the version string is within the acceptable range. */
- if (SPIF_CMP_IS_LESS(spiftool_version_compare(SPIF_CAST(charptr) str, SPIF_CAST(charptr) "0.16.4"))
- || SPIF_CMP_IS_GREATER(spiftool_version_compare(SPIF_CAST(charptr) str, SPIF_CAST(charptr) "0.16.999"))) {
+ if (SPIF_CMP_IS_LESS(spiftool_version_compare((spif_charptr_t) str, (spif_charptr_t) "0.16.4"))
+ || SPIF_CMP_IS_GREATER(spiftool_version_compare((spif_charptr_t) str, (spif_charptr_t) "0.16.999"))) {
D_ENL((" -> IPC version string \"%s\" out of range. I'll have to ignore it.\n"));
ipc_win = None;
}