os: use /= 2 instead of >>= 1

Compilers optimize the first one to the second one.

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2025-08-07 12:49:49 +03:00
committed by Enrico Weigelt
parent 808fc3a604
commit fe186eee6f

View File

@@ -948,7 +948,7 @@ FlushClient(ClientPtr who, OsCommPtr oc)
#ifdef EMSGSIZE /* check for another brain-damaged OS bug */
else if (errno == EMSGSIZE) {
/* making separate try with half of the size */
todo >>= 1;
todo /= 2;
}
#endif
else {