« Previous | Next » 

Revision 14d40183

ID14d40183725361e6350166099556c7661063921b

Added by Dongxiao Xu almost 12 years ago

xen-all.c: fix multiply issue for int and uint types

If the two multiply operands are int and uint types separately,
the int type will be transformed to uint firstly, which is not the
intent in our code piece. The fix is to add (int64_t) transform
for the uint type before the multiply.

Signed-off-by: Dongxiao Xu <>
Signed-off-by: Stefano Stabellini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences