aboutsummaryrefslogtreecommitdiff
path: root/include/libc-pointer-arith.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc-pointer-arith.h')
-rw-r--r--include/libc-pointer-arith.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc-pointer-arith.h b/include/libc-pointer-arith.h
index 1faf020..aa57e59 100644
--- a/include/libc-pointer-arith.h
+++ b/include/libc-pointer-arith.h
@@ -64,7 +64,7 @@
#define PTR_IS_ALIGNED(base, size) \
((((uintptr_t) (base)) & (size - 1)) == 0)
-/* Returns the ptrdiff_t diference between P1 and P2. */
+/* Returns the ptrdiff_t difference between P1 and P2. */
#define PTR_DIFF(p1, p2) \
((ptrdiff_t)((uintptr_t)(p1) - (uintptr_t)(p2)))