]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qobject/qdict.c
qobject: spaces required around that operators
[mirror_qemu.git] / qobject / qdict.c
index d4d016ad691b6de6d44e70cec9784f0d54126a66..6c15ed14c15d49793d81796031a6efcba13ab042 100644 (file)
@@ -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);
 }