chiark / gitweb /
Be more conservative in base-64 encoding.
[mLib] / url.h
diff --git a/url.h b/url.h
index 55e443dacb11b3513a2ac60d695d83ce6b7d2818..90b649a745ecaf15c875dcb9594a98aa416b70f9 100644 (file)
--- a/url.h
+++ b/url.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: url.h,v 1.2 1999/12/10 23:42:04 mdw Exp $
+ * $Id: url.h,v 1.3 2001/01/20 12:06:01 mdw Exp $
  *
  * Parsing and construction of url-encoded name/value pairs
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: url.h,v $
+ * Revision 1.3  2001/01/20 12:06:01  mdw
+ * Define flags with macros, to ensure unsignedness.
+ *
  * Revision 1.2  1999/12/10 23:42:04  mdw
  * Change header file guard names.
  *
@@ -57,9 +60,7 @@ typedef struct url_ectx {
   unsigned f;
 } url_ectx;
 
-enum {
-  URLF_SEP = 1
-};
+#define URLF_SEP 1u
 
 typedef struct url_dctx {
   const char *p;