| 33 |  | static int get3dgin(W3VEC ov, GNDX ndx, W3VEC rem, WARP3D *wp); | 
| 34 |  | static void l3interp(W3VEC vo, W3VEC *cl, W3VEC dv, int n); | 
| 35 |  | static int warp3dex(W3VEC ov, W3VEC pi, WARP3D *wp); | 
| 36 | < | //static unsigned long gridhash(void *gp); | 
| 36 | > | //static unsigned long gridhash(const void *gp); | 
| 37 |  | static lut_hashf_t gridhash; | 
| 38 |  | static int new3dgrid(WARP3D *wp); | 
| 39 |  | static void done3dgrid(struct grid3d *gp); | 
| 367 |  | static unsigned long | 
| 368 |  | gridhash(                       /* hash a grid point index */ | 
| 369 |  | //GNDX  gp | 
| 370 | < | void    *gp | 
| 370 | > | const void      *gp | 
| 371 |  | ) | 
| 372 |  | { | 
| 373 |  | //return(((unsigned long)gp[0]<<GNBITS | gp[1])<<GNBITS | gp[2]); | 
| 374 | < | return(((unsigned long)((unsigned char*)gp)[0]<<GNBITS | ((unsigned char*)gp)[1])<<GNBITS | ((unsigned char*)gp)[2]); | 
| 374 | > | return(((unsigned long)((const unsigned char*)gp)[0]<<GNBITS | ((const unsigned char*)gp)[1])<<GNBITS | ((const unsigned char*)gp)[2]); | 
| 375 |  | } | 
| 376 |  |  | 
| 377 |  |  |