commit | 14d40183725361e6350166099556c7661063921b | [log] [tgz] |
---|---|---|
author | Dongxiao Xu <dongxiao.xu@intel.com> | Wed Aug 22 10:17:43 2012 +0000 |
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | Wed Aug 22 10:17:43 2012 +0000 |
tree | aed671fda5f1191ac71dc715db0e95841f318afc | |
parent | 27b7652ef515bb4c694f79d657d2052c72b19536 [diff] |
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 <dongxiao.xu@intel.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>