Changeset 177 for trunk/contrib/extractor/libmpq
- Timestamp:
- 11/19/08 13:43:30 (17 years ago)
- Location:
- trunk/contrib/extractor/libmpq
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/contrib/extractor/libmpq/mpq.cpp
r168 r177 200 200 * This function returns some useful file information. 201 201 */ 202 int libmpq_file_info(mpq_archive *mpq_a, unsigned int infotype, const int number) {202 int libmpq_file_info(mpq_archive *mpq_a, unsigned int infotype, const int unsigned number) { 203 203 int blockindex = number; //-1; 204 204 int i = 0; -
trunk/contrib/extractor/libmpq/mpq.h
r2 r177 199 199 extern int libmpq_archive_info(mpq_archive *mpq_a, unsigned int infotype); 200 200 //extern int libmpq_file_extract(mpq_archive *mpq_a, const int number); 201 extern int libmpq_file_info(mpq_archive *mpq_a, unsigned int infotype, const int number);201 extern int libmpq_file_info(mpq_archive *mpq_a, unsigned int infotype, const unsigned int number); 202 202 extern char *libmpq_file_name(mpq_archive *mpq_a, const int number); 203 203 extern int libmpq_file_number(mpq_archive *mpq_a, const char *name); -
trunk/contrib/extractor/libmpq/parser.cpp
r2 r177 80 80 81 81 /* now search for comment in this line */ 82 for (i = 0; i < strlen(line); i++) {82 for (i = 0; i < int(strlen(line)); i++) { 83 83 if (line[i] == '#') { 84 84 pos = i - 1;