tabs->spaces
This commit is contained in:
+10
-10
@@ -5,17 +5,17 @@
|
||||
char*
|
||||
uc_sprintbc(char *result, unsigned char value)
|
||||
{
|
||||
char *s = result;
|
||||
unsigned char mask = ~((unsigned char) (~0U) >> 1U);
|
||||
char *s = result;
|
||||
unsigned char mask = ~((unsigned char) (~0U) >> 1U);
|
||||
|
||||
if (s) {
|
||||
while (mask) {
|
||||
*s++ = (mask & value) ? '1' : '0';
|
||||
mask >>= 1U;
|
||||
}
|
||||
*s = '\0';
|
||||
}
|
||||
if (s) {
|
||||
while (mask) {
|
||||
*s++ = (mask & value) ? '1' : '0';
|
||||
mask >>= 1U;
|
||||
}
|
||||
*s = '\0';
|
||||
}
|
||||
|
||||
return result;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user