Changeset 657747 in git for omalloc/omTables.c
- Timestamp:
- Jan 7, 2011, 4:00:59 PM (13 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
- Children:
- afc913d3bf15e0e109b09ee2e7c9c088088429ce
- Parents:
- e961ee49ffe19b2ceb5ebbde55790cf01100a939
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/omTables.c
re961ee4 r657747 68 68 long i, j; 69 69 printf("omBin om_Size2%sBin[/*%ld*/] = {\n", 70 (track? "Track" : ""), max_block_size / SIZEOF_OM_ALIGNMENT);70 (track? "Track" : ""), (long)(max_block_size / SIZEOF_OM_ALIGNMENT)); 71 71 i=0; 72 72 j=SIZEOF_OM_ALIGNMENT; … … 89 89 } 90 90 printf("omBin om_Size2%sBin[/*%ld*/] = {\n", 91 (track ? "Track" : "Aligned"), max_block_size / SIZEOF_OM_ALIGNMENT);91 (track ? "Track" : "Aligned"), (long)(max_block_size / SIZEOF_OM_ALIGNMENT)); 92 92 i=0; 93 93 while (binSize[i] % SIZEOF_STRICT_ALIGNMENT != 0) i++; … … 114 114 { 115 115 printf("{om_ZeroPage, NULL, NULL, %ld, %ld, 0},\n", 116 binSize[i] / SIZEOF_LONG,117 SIZEOF_OM_BIN_PAGE/binSize[i]);116 (long)(binSize[i] / SIZEOF_LONG), 117 (long)(SIZEOF_OM_BIN_PAGE/binSize[i])); 118 118 } 119 119 printf("{om_ZeroPage, NULL, NULL, %ld, %ld, 0}\n};\n\n", 120 binSize[i] / SIZEOF_LONG,121 SIZEOF_OM_BIN_PAGE/binSize[i]);120 (long)(binSize[i] / SIZEOF_LONG), 121 (long)(SIZEOF_OM_BIN_PAGE/binSize[i])); 122 122 } 123 123
Note: See TracChangeset
for help on using the changeset viewer.