Message ID | 1286897317-312-1-git-send-email-bernhard.kohl@nsn.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index 15b0280..a2af776 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -435,7 +435,7 @@ struct kvm_desc_ptr { static inline unsigned long kvm_get_desc_base(const struct kvm_desc_struct *desc) { - return desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24); + return (unsigned)(desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); } static inline void