Fixed compilation issue for diffadd.

psblas3-type-indexed
Salvatore Filippone 15 years ago
parent 97d3f2d951
commit eda6a4941a

@ -21,8 +21,8 @@
#define psi_c_diffadd PSI_C_DIFFADD #define psi_c_diffadd PSI_C_DIFFADD
#endif #endif
void psi_c_diffadd(void *p1, void *p2, int *ret) void psi_c_diffadd(char *p1, char *p2, int *ret)
{ {
*ret = p2-p1; *ret = (int)(p2-p1);
return; return;
} }

Loading…
Cancel
Save