Ignore:
Timestamp:
Aug 24, 2017, 7:49:46 AM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
a4d9b77, c315863
Parents:
a1f7064
Message:

Use %zd instead of %lu in assertf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/utility.h

    ra1f7064 r3c09d47  
    311311struct group_iterate_t {
    312312        group_iterate_t( bool skipBoundsCheck, const T1 & v1, const T2 & v2 ) : args(v1, v2) {
    313                 assertf(skipBoundsCheck || v1.size() == v2.size(), "group iteration requires containers of the same size: <%lu, %lu>.", v1.size(), v2.size());
     313                assertf(skipBoundsCheck || v1.size() == v2.size(), "group iteration requires containers of the same size: <%zd, %zd>.", v1.size(), v2.size());
    314314        };
    315315
Note: See TracChangeset for help on using the changeset viewer.