summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 2ea5400..f088ece 100644
--- a/math.c
+++ b/math.c
@@ -430,7 +430,7 @@ eef(void)
if (!exponent) {
strcat(dispstr,"E+");
DrawDisplay();
- exponent=strlen(dispstr)-1; /* where the '-' goes */
+ exponent=(int) strlen(dispstr)-1; /* where the '-' goes */
}
clrdisp=0;
entered=1;