diff options
author | Zhang Han <zhanghan64@huawei.com> | 2020-12-28 15:11:28 +0800 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-02-04 13:20:29 +0100 |
commit | f3d71c6e8d1ce6445c38e2247938903c1f661154 (patch) | |
tree | 28f22fedda02c13cca761e33655798ce639d6563 /qobject/qdict.c | |
parent | be08fb1897145e5fc3d11e05c2896b259887d9aa (diff) | |
download | qemu-f3d71c6e8d1ce6445c38e2247938903c1f661154.zip qemu-f3d71c6e8d1ce6445c38e2247938903c1f661154.tar.gz qemu-f3d71c6e8d1ce6445c38e2247938903c1f661154.tar.bz2 |
qobject: spaces required around that operators
Add spaces around operators.
Signed-off-by: Zhang Han <zhanghan64@huawei.com>
Message-Id: <20201228071129.24563-4-zhanghan64@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qobject/qdict.c')
-rw-r--r-- | qobject/qdict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qobject/qdict.c b/qobject/qdict.c index d4d016a..6c15ed1 100644 --- a/qobject/qdict.c +++ b/qobject/qdict.c @@ -43,8 +43,8 @@ static unsigned int tdb_hash(const char *name) unsigned i; /* Used to cycle through random values. */ /* Set the initial value from the key size. */ - for (value = 0x238F13AF * strlen(name), i=0; name[i]; i++) - value = (value + (((const unsigned char *)name)[i] << (i*5 % 24))); + for (value = 0x238F13AF * strlen(name), i = 0; name[i]; i++) + value = (value + (((const unsigned char *)name)[i] << (i * 5 % 24))); return (1103515243 * value + 12345); } |