aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-04-12 00:36:10 +0200
committerJunio C Hamano <gitster@pobox.com>2013-04-12 12:23:20 -0700
commit7323513d287d00fe2b40d659fb49042fb027e749 (patch)
treea6133a078d287e42ad9d96cb2be7ca70c3856b4a /compat
parentd0008b3c667d3496cc1c27161fcbcd7e40aa9d02 (diff)
downloadgit-7323513d287d00fe2b40d659fb49042fb027e749.tar.gz
git-7323513d287d00fe2b40d659fb49042fb027e749.tar.xz
obstack: fix spelling of similar
Noticed using Lucas De Marchi's codespell tool. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
-rw-r--r--compat/obstack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/obstack.h b/compat/obstack.h
index d178bd671..ceb4bdbcd 100644
--- a/compat/obstack.h
+++ b/compat/obstack.h
@@ -128,7 +128,7 @@ extern "C" {
#define __BPTR_ALIGN(B, P, A) ((B) + (((P) - (B) + (A)) & ~(A)))
-/* Similiar to _BPTR_ALIGN (B, P, A), except optimize the common case
+/* Similar to _BPTR_ALIGN (B, P, A), except optimize the common case
where pointers can be converted to integers, aligned as integers,
and converted back again. If PTR_INT_TYPE is narrower than a
pointer (e.g., the AS/400), play it safe and compute the alignment