| commit | e29bc931e1699a98959680f6776b48673825762b | [log] [tgz] |
|---|---|---|
| author | Stefan Weil <sw@weilnetz.de> | Mon Sep 09 22:42:54 2024 +0200 |
| committer | Jason Wang <jasowang@redhat.com> | Tue Oct 29 15:53:23 2024 +0800 |
| tree | dc8b7454c9f8183ce922a3f43286a181cf8c02a0 | |
| parent | 76240dd2a37c7b361740616a7d6080beafdb8a71 [diff] |
Fix calculation of minimum in colo_compare_tcp
GitHub's CodeQL reports a critical error which is fixed by using the MIN macro:
Unsigned difference expression compared to zero
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Cc: qemu-stable@nongnu.org
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>