removed some parts unneeded in BaS
This commit is contained in:
@@ -233,6 +233,7 @@ static void doprnt(void (*addchar)(int), const char *sfmt, va_list ap)
|
|||||||
do_long = 1;
|
do_long = 1;
|
||||||
hash = 1;
|
hash = 1;
|
||||||
fmt = 'x';
|
fmt = 'x';
|
||||||
|
/* no break */
|
||||||
/*FALLTHROUGH*/
|
/*FALLTHROUGH*/
|
||||||
case 'o':
|
case 'o':
|
||||||
case 'x':
|
case 'x':
|
||||||
@@ -240,8 +241,7 @@ static void doprnt(void (*addchar)(int), const char *sfmt, va_list ap)
|
|||||||
switch (do_long)
|
switch (do_long)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
u = (unsigned
|
u = (unsigned long) (va_arg(ap, unsigned int));
|
||||||
long) (va_arg(ap, unsigned int));
|
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user