From f72cdf57a6986f96410d775471cb6e45f2083752 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 6 Jan 2006 16:05:50 +0000 Subject: [PATCH] non-alignment fix git-svn-id: http://ltt.polymtl.ca/svn@1452 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/ltt-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/ltt/ltt-private.h b/ltt/branches/poly/ltt/ltt-private.h index 89c5e6ce..d97ff5fc 100644 --- a/ltt/branches/poly/ltt/ltt-private.h +++ b/ltt/branches/poly/ltt/ltt-private.h @@ -457,7 +457,7 @@ static inline unsigned int ltt_align(size_t align_drift, { size_t alignment = min(has_alignment, size_of_type); - if(!has_alignement) return 0; + if(!has_alignment) return 0; return ((alignment - align_drift) & (alignment-1)); } -- 2.34.1