aboutsummaryrefslogtreecommitdiff
path: root/tool/logest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tool/logest.c')
-rw-r--r--tool/logest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/logest.c b/tool/logest.c
index 347fa68a4..e936e02cb 100644
--- a/tool/logest.c
+++ b/tool/logest.c
@@ -147,7 +147,7 @@ int main(int argc, char **argv){
}else if( strcmp(z,"inv")==0 ){
if( n>0 ) a[n-1] = -a[n-1];
}else if( z[0]=='^' ){
- a[n++] = atoi(z+1);
+ a[n++] = (LogEst)atoi(z+1);
}else if( isInteger(z) ){
a[n++] = logEstFromInteger(atoi(z));
}else if( isFloat(z) && z[0]!='-' ){