mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
change from atoi to sprintf
linux does not support itoa svn path=/trunk/; revision=15320
This commit is contained in:
parent
19ea176f6d
commit
52b95ec424
1 changed files with 2 additions and 2 deletions
|
@ -618,7 +618,7 @@ void parse_filename_into_dirrecord ( const char* filename, PDIR_RECORD d, BOOL d
|
|||
if (filename_counter>255) error_exit ( "'%s' is a duplicate file name, aborting...", filename );
|
||||
d->name_on_cd[8] = '~';
|
||||
memset(&d->name_on_cd[9],0,5);
|
||||
itoa(filename_counter, &d->name_on_cd[9],10);
|
||||
sprintf(&d->name_on_cd[9],"%d",filename_counter);
|
||||
filename_counter++;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue