Ignore:
Timestamp:
Nov 8, 2017, 11:27:05 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:
c6747a1
Parents:
8e0147a
Message:

Fix warnings in coroutine and monitor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/monitor.c

    r8e0147a r2f6a7e9  
    1717
    1818#include <stdlib>
     19#include <inttypes.h>
    1920
    2021#include "libhdr.h"
     
    378379        // Check that everything is as expected
    379380        assertf( this.monitors != NULL, "Waiting with no monitors (%p)", this.monitors );
    380         verifyf( this.monitor_count != 0, "Waiting with 0 monitors (%i)", this.monitor_count );
    381         verifyf( this.monitor_count < 32u, "Excessive monitor count (%i)", this.monitor_count );
     381        verifyf( this.monitor_count != 0, "Waiting with 0 monitors (%"PRIiFAST16")", this.monitor_count );
     382        verifyf( this.monitor_count < 32u, "Excessive monitor count (%"PRIiFAST16")", this.monitor_count );
    382383
    383384        // Create storage for monitor context
     
    462463        //Check that everything is as expected
    463464        verifyf( this.monitors != NULL, "Waiting with no monitors (%p)", this.monitors );
    464         verifyf( this.monitor_count != 0, "Waiting with 0 monitors (%i)", this.monitor_count );
     465        verifyf( this.monitor_count != 0, "Waiting with 0 monitors (%"PRIiFAST16")", this.monitor_count );
    465466
    466467        // Create storage for monitor context
Note: See TracChangeset for help on using the changeset viewer.