Changeset 1531
- Timestamp:
- Sep 28, 2004, 5:24:16 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/src/emx/src/lib/io/_output.c (modified) (13 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/lib/io/_output.c
-
Property cvs2svn:cvs-rev
changed from
1.5to1.6
r1530 r1531 17 17 #define FALSE 0 18 18 #define TRUE 1 19 20 21 19 22 20 23 #define DEFAULT_PREC 6 … … 695 698 { 696 699 olocal v; 697 char size, cont; 700 int size; 701 char cont; 698 702 unsigned char c; 699 703 int mbn, shift; … … 818 822 /* Size */ 819 823 820 if (*format == 'h' || *format == 'l' || *format == 'L') 824 if ( *format == 'h' || *format == 'l' || *format == 'L' 825 || *format == 'j' || *format == 'z' || *format == 't' 826 || *format == 'q' || *format == 'Z' ) 821 827 { 822 828 size = *format++; 823 829 if (size == 'l' && *format == 'l') 824 830 { 825 size = 'L'; ++format; 826 } 831 size = SIZE_LL; ++format; 832 } 833 else if (size == 'h' && *format == 'h') 834 { 835 size = SIZE_HH; ++format; 836 } 837 else if (size == 'q' || size == 'j') 838 size = SIZE_LL; 839 else if (size == 'z' || size == 'Z' || size == 't') 840 size = 'l'; 827 841 } 828 842 … … 835 849 836 850 case 'n': 837 if (size == 'L')851 if (size == 'L') 838 852 { 839 853 long long *ptr = va_arg (arg_ptr, long long *); … -
Property cvs2svn:cvs-rev
changed from
