提交 4761a48b 编写于 作者: B blueswir1

Fix GCC 4 signedness warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5533 c046a42c-6fe2-441c-8c8c-71466251a162
上级 2bd7318c
...@@ -173,7 +173,7 @@ static void tcp_wait_for_connect(void *opaque) ...@@ -173,7 +173,7 @@ static void tcp_wait_for_connect(void *opaque)
{ {
FdMigrationState *s = opaque; FdMigrationState *s = opaque;
int val, ret; int val, ret;
int valsize = sizeof(val); socklen_t valsize = sizeof(val);
dprintf("connect completed\n"); dprintf("connect completed\n");
do { do {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册