--- trunk/reactos/tools/cdmake/cdmake.c 2005-05-15 19:40:57 UTC (rev 15319)
+++ trunk/reactos/tools/cdmake/cdmake.c 2005-05-15 21:11:37 UTC (rev 15320)
@@ -617,8 +617,8 @@
// 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++;
}