endian: add constant versions.
[ccan] / ccan / short_types / _info
index 8beb44952021bcf74e6341cb5b83345ea87d3562..cfd439e6fccb270e943a25263478c12b6dc164a8 100644 (file)
@@ -29,7 +29,7 @@
  *                          unsigned int *posix_total, unsigned int *sht_total,
  *                          unsigned int *size_total)
  *     {
- *             printf("\t%ssigned %s: POSIX %i%%, short %i%%\n",
+ *             printf("\t%ssigned %s: POSIX %zu%%, short %zu%%\n",
  *                    sht[0] == 'u' ? "un" : "",
  *                    sht+1,
  *                    strlen(posix)*100 / size,
@@ -65,7 +65,7 @@
  *             return 0;
  *     }
  *
- * License: LGPL (v2.1 or any later version)
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])