Changeset 3c09d47


Ignore:
Timestamp:
Aug 24, 2017, 7:49:46 AM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, 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.