Corrections to data types, as found by Christian Zink <christian.zink@4students-ag...
authorJoey Schulze <joey@infodrom.org>
Tue, 15 Jan 2002 20:35:29 +0000 (20:35 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 15 Jan 2002 20:35:29 +0000 (20:35 +0000)
dtaus.c

diff --git a/dtaus.c b/dtaus.c
index 42ff0bd..7c7ea71 100644 (file)
--- a/dtaus.c
+++ b/dtaus.c
@@ -234,7 +234,7 @@ char *strip_nondigits (char *s)
 char dtaus_char (void *buf, unsigned int pos)
 {
   static char res;
-  char *bufp = buf;
+  char *bufp = (char *)buf;
 
   bufp+=pos;
   memcpy(&res, bufp, 1);
@@ -346,7 +346,7 @@ char *ext2string (char *s)
 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;
@@ -824,8 +824,8 @@ void printctlndate(FILE *f, char *field, char *value)
 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;