summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt4
-rw-r--r--zap/include/zap/bs.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 0c45421..dd8d603 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,7 @@
+# 12.1
+
+* Remove typing of nullptr;
+
# 12.0
* Add function for getting the length of UTF-32 strings;
diff --git a/zap/include/zap/bs.h b/zap/include/zap/bs.h
index e3d4c3d..1204690 100644
--- a/zap/include/zap/bs.h
+++ b/zap/include/zap/bs.h
@@ -26,7 +26,7 @@ typedef signed char zap_cmp;
#define zap_nopos (~((zap_sz)+0u))
-#define zap_nullptr ((zap_sz)0x0u)
+#define zap_nullptr (0x0u)
typedef unsigned long zap_sz;