Ignore:
Timestamp:
Nov 10, 2005, 5:28:36 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • fixed 64 bit issues here and there.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/sdlport/sound.cpp

    r4 r11  
    112112        // Check for the sfx directory, disable sound if we can't find it.
    113113        datadir = get_filename_prefix();
    114         sfxdir = (char *)jmalloc( strlen( datadir ) + 6, "sfxdir" );
     114        sfxdir = (char *)jmalloc( strlen( datadir ) + 5 + 1, "sfxdir" );
    115115        sprintf( sfxdir, "%s/sfx/", datadir );
    116116        if( (fd = fopen( sfxdir,"r" )) == NULL )
Note: See TracChangeset for help on using the changeset viewer.