]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/link/_info
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / tal / link / _info
index d128e0106c2bc3eb779c052b4cfb3144ead55688..8e39e781d8569978517854646c21d87cdf2fa68a 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * tal/link - link helper for tal
@@ -14,8 +14,8 @@
  *     // Silly program which keeps a cache of uppercased strings.
  *     // The cache wants to keep strings around even after they may have
  *     // been "freed" by the caller.
- *     // Given 'hello' outputs '1 cache hits HELLO '
- *     // Given 'hello hello there' outputs '4 cache hits HELLO HELLO THERE '
+ *     // Given "hello" outputs "1 cache hits HELLO \n"
+ *     // Given "hello hello there" outputs "4 cache hits HELLO HELLO THERE \n"
  *     #include <stdio.h>
  *     #include <err.h>
  *     #include <string.h>
@@ -87,7 +87,7 @@
  *
  *     int main(int argc, char *argv[])
  *     {
- *             unsigned int i;
+ *             int i;
  *             const char **values;
  *
  *             // Initialize cache.