mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +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
|
@ -617,8 +617,8 @@ void parse_filename_into_dirrecord ( const char* filename, PDIR_RECORD d, BOOL d
|
|||
// max 255 times for equal short filename
|
||||
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);
|
||||
memset(&d->name_on_cd[9],0,5);
|
||||
sprintf(&d->name_on_cd[9],"%d",filename_counter);
|
||||
filename_counter++;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue