char dtaus_char (void *buf, unsigned int pos)
{
static char res;
- char *bufp = buf;
+ char *bufp = (char *)buf;
bufp+=pos;
memcpy(&res, bufp, 1);
unsigned long int dtaus_int(void *buf, unsigned int pos, unsigned int len)
{
char tmp[30];
- char *bufp = buf;
+ char *bufp = (char *)buf;
static unsigned long int res;
bufp+=pos;
void dtaus2control (char *cdtaus, char *ccontrol)
{
FILE *fdtaus, *fcontrol;
- void *buf;
- void *bufp;
+ char *buf;
+ char *bufp;
char tmp[30];
char x[30];
int index;