| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/x11-toolkits/movingmotif/files/ |
Upload File : |
--- src/Whistspectr.c.orig 2008-02-20 09:56:01.000000000 +0100
+++ src/Whistspectr.c 2008-02-20 09:57:28.000000000 +0100
@@ -52,7 +52,6 @@
#endif
#include <math.h>
#include <limits.h>
-#include <values.h>
#include <X11/Xlib.h>
#include<Xm/PrimitiveP.h>
#include<Xm/DrawP.h>
@@ -574,7 +573,7 @@
colorpix[i++] = current->histspectr.linecolor;
if(i)
XFreeColors(XtDisplay(current), DefaultColormap(XtDisplay(current)
- ,DefaultScreen(XtDisplay(current))),colorpix,i,(int)NULL);
+ ,DefaultScreen(XtDisplay(current))),colorpix,i,0);
if(newon->histspectr.xndecimals != current->histspectr.xndecimals){
get_proportion(newon); /* recalculate sizes and starting */
@@ -1029,7 +1028,7 @@
colorpix[i++] = cw->histspectr.linecolor;
if(i)
XFreeColors(XtDisplay(cw), DefaultColormap(XtDisplay(cw)
- ,DefaultScreen(XtDisplay(cw))),colorpix,i,(int)NULL);
+ ,DefaultScreen(XtDisplay(cw))),colorpix,i,0);
/* XmFontListFree(cw->histspectr.font_list); */
XFreePixmap(XtDisplay(cw), cw->histspectr.pix);