Hello,
I've attached a patch that allows aime to build on 64-bit platforms.
I'm not sure how (or if) this actually worked on anything before. fputc
takes a char, and the original code passed an integer-cast pointer to char.
John
diff -Nur aime-0.60.3-orig/src/editor.cpp aime-0.60.3/src/editor.cpp
--- aime-0.60.3-orig/src/editor.cpp 2001-09-29 06:20:21.000000000 -0600
+++ aime-0.60.3/src/editor.cpp 2005-10-23 15:32:07.368929533 -0600
@@ -649,7 +649,7 @@
while (tmp_lin != NULL)
{ fputs(tmp_lin->the_line.str_show(),fp);
- fputc((int)"\n",fp);
+ fputc('\n',fp);
tmp_lin = tmp_lin->next_line;
}
return 1;