OSDN Git Service

obstack: fix spelling of similar
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 11 Apr 2013 22:36:10 +0000 (00:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Apr 2013 19:23:20 +0000 (12:23 -0700)
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>
compat/obstack.h

index d178bd6..ceb4bdb 100644 (file)
@@ -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