Changeset 810a36f in mainline for uspace/lib/c/generic/io/printf_core.c
- Timestamp:
- 2017-10-24T05:29:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b1eb7ef
- Parents:
- c8fbbe7 (diff), 673ea28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/printf_core.c
rc8fbbe7 r810a36f 46 46 #include <assert.h> 47 47 #include <macros.h> 48 #include <wchar.h> 48 49 49 50 … … 114 115 PrintfQualifierLongLong, 115 116 PrintfQualifierPointer, 116 PrintfQualifierSize 117 PrintfQualifierSize, 118 PrintfQualifierMax 117 119 } qualifier_t; 118 120 … … 1484 1486 uc = str_decode(fmt, &nxt, STR_NO_LIMIT); 1485 1487 break; 1488 case 'j': 1489 qualifier = PrintfQualifierMax; 1490 i = nxt; 1491 uc = str_decode(fmt, &nxt, STR_NO_LIMIT); 1492 break; 1486 1493 default: 1487 1494 /* Default type */ … … 1629 1636 number = (uint64_t) va_arg(ap, size_t); 1630 1637 break; 1638 case PrintfQualifierMax: 1639 size = sizeof(uintmax_t); 1640 number = (uint64_t) va_arg(ap, uintmax_t); 1641 break; 1631 1642 default: 1632 1643 /* Unknown qualifier */
Note:
See TracChangeset
for help on using the changeset viewer.