#ifdef WIN32
+#include <io.h>
#include "conio.h"
#else
#include <unistd.h>
#endif
while(*text)
{
- ssize_t written = write(1, text, strlen(text));
+ int written = (int)write(1, text, (int)strlen(text));
if(written <= 0)
break; // sorry, I cannot do anything about this error - without an output
text += written;