Changeset 1520 for trunk/dll/copyf.c
- Timestamp:
- May 2, 2010, 12:38:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/copyf.c
r1502 r1520 97 97 switch (type) { 98 98 case 0: 99 sprintf(p, "%08lx.%03lx", mypid,rand() & 4095L); // 4095 = 0x0FFF99 sprintf(p, "%08lx.%03lx", (UINT)mypid, (UINT)rand() & 4095L); // 4095 = 0x0FFF 100 100 break; 101 101 case 1: 102 sprintf(p, "%s%04lx.%03lx", "$FM2", mypid,rand() & 4095L); // 4095 = 0x0FFF102 sprintf(p, "%s%04lx.%03lx", "$FM2", (UINT)mypid, (UINT)rand() & 4095L); // 4095 = 0x0FFF 103 103 break; 104 104 case 2: 105 sprintf(p, "%s.%03x", temproot, ( rand() & 4095));// 4095 = 0x0FFF105 sprintf(p, "%s.%03x", temproot, (UINT)(rand() & 4095)); // 4095 = 0x0FFF 106 106 break; 107 107 default:
Note:
See TracChangeset
for help on using the changeset viewer.