Spell `incompatible' correctly.
llvm-svn: 8163
diff --git a/llvm/include/Support/Casting.h b/llvm/include/Support/Casting.h
index 476d3ae..a5a0955 100644
--- a/llvm/include/Support/Casting.h
+++ b/llvm/include/Support/Casting.h
@@ -184,7 +184,7 @@
//
template <class X, class Y>
inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) {
- assert(isa<X>(Val) && "cast<Ty>() argument of uncompatible type!");
+ assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
return cast_convert_val<X, Y,
typename simplify_type<Y>::SimpleType>::doit(Val);
}
@@ -195,7 +195,7 @@
template <class X, class Y>
inline typename cast_retty<X, Y*>::ret_type cast_or_null(Y *Val) {
if (Val == 0) return 0;
- assert(isa<X>(Val) && "cast_or_null<Ty>() argument of uncompatible type!");
+ assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
return cast<X>(Val);
}