A cast is needed or Borland C will complain.
[openssl.git] / crypto / rand / rand_win.c
index 017ce2a9fce003b14f128e59e9a94b23a22599cd..cb8e17634f87f2ef163b4af049a80d4cbbfc9033 100644 (file)
@@ -236,7 +236,7 @@ int RAND_poll(void)
                if (cursor)
                        {
                        /* cursor position */
-                       cursor(buf);
+                       cursor((PCURSORINFO)buf);
                        RAND_add(buf, sizeof(buf), 0);
                        }