chiark / gitweb /
Sizes and maximum values in bits.h, for other macros.
[mLib] / base64.c
index 2cefb41cdcce2fbc5629e44f71fe44f530183ffe..60bb040ae3a74383c38df2ea1d7469a075e62560 100644 (file)
--- a/base64.c
+++ b/base64.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: base64.c,v 1.5 2002/01/13 13:26:16 mdw Exp $
+ * $Id: base64.c,v 1.7 2004/04/08 01:36:11 mdw Exp $
  *
  * Base64 encoding and decoding.
  *
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: base64.c,v $
- * Revision 1.5  2002/01/13 13:26:16  mdw
- * Change names for internal tables.
- *
- * Revision 1.4  1999/10/15 21:08:46  mdw
- * Change support for erroneous Base64 streams with length 1 mod 4.
- *
- * Revision 1.3  1999/05/21 22:14:30  mdw
- * Take advantage of the new dynamic string macros.
- *
- * Revision 1.2  1999/05/18 21:45:27  mdw
- * Allow Base64 encode and decode of arbitrary rubbish.
- *
- * Revision 1.1  1999/05/17 20:35:00  mdw
- * Base64 encoding and decoding support.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include <stdio.h>
@@ -272,7 +252,7 @@ int main(int argc, char *argv[])
   unsigned char buf[BUFSIZ];
   dstr d = DSTR_INIT;
   base64_ctx ctx;
-  void (*proc)(base64_ctx *, const unsigned char *, size_t, dstr *);
+  void (*proc)(base64_ctx *, const void *, size_t, dstr *);
   size_t sz;
 
   base64_init(&ctx);