403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
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/science/openmx/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/science/openmx/files/patch-Poisson__ESM.c
--- Poisson_ESM.c.orig	2018-08-29 06:03:16 UTC
+++ Poisson_ESM.c
@@ -71,8 +71,8 @@ double Poisson_ESM(int fft_charge_flag,
     fftw_complex out[List_YOUSO[17]];
   ****************************************************/
 
-  in0  = fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
-  out0 = fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
+  in0  = (fftw_complex *)fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
+  out0 = (fftw_complex *)fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
 
 
   if (myid==Host_ID) { 
@@ -908,8 +908,8 @@ void One_dim_FFT(FILE *fp, 
     fftw_complex out[List_YOUSO[17]];
   ****************************************************/
 
-  in  = fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
-  out = fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
+  in  = (fftw_complex *)fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
+  out = (fftw_complex *)fftw_malloc(sizeof(fftw_complex)*List_YOUSO[17]);
 
   p = fftw_plan_dft_1d(Ngrid1, in, out, sgn2, FFTW_ESTIMATE);
 

Youez - 2016 - github.com/yon3zu
LinuXploit