Changeset 5651:b0e163908378 in roaraudio for libroar/buffer.c


Ignore:
Timestamp:
09/12/12 16:22:42 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Added compiler checks for printf() like format strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/buffer.c

    r5647 r5651  
    191191 
    192192  if ( cur->refc == 0 ) { 
    193    ROAR_WARN("roar_buffer_unref(buf=%p): Ref counter for buffer at %p is wrong. assuming one.", cur); 
     193   ROAR_WARN("roar_buffer_unref(buf=%p): Ref counter for buffer at %p is wrong. assuming one.", cur, cur); 
    194194   cur->refc = 1; 
    195195   roar_panic(ROAR_FATAL_ERROR_MEMORY_CORRUPTION, NULL); 
Note: See TracChangeset for help on using the changeset viewer.