NOISSUE make the compiler more evil
This commit is contained in:
		| @@ -112,7 +112,7 @@ hoedown_buffer_grow(hoedown_buffer *buf, size_t neosz) | ||||
| 	while (neoasz < neosz) | ||||
| 		neoasz += buf->unit; | ||||
|  | ||||
| 	buf->data = buf->data_realloc(buf->data, neoasz); | ||||
| 	buf->data = (uint8_t *) buf->data_realloc(buf->data, neoasz); | ||||
| 	buf->asize = neoasz; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -29,9 +29,7 @@ set(PACK200_SRC | ||||
| set(CMAKE_POSITION_INDEPENDENT_CODE ON) | ||||
|  | ||||
| add_library(unpack200 STATIC ${PACK200_SRC}) | ||||
| target_include_directories(unpack200 | ||||
| 	PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" | ||||
| 	PRIVATE ${ZLIB_INCLUDE_DIRS}) | ||||
| target_include_directories(unpack200 PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" PRIVATE ${ZLIB_INCLUDE_DIRS} "${CMAKE_CURRENT_SOURCE_DIR}/src") | ||||
|  | ||||
| target_link_libraries(unpack200 ${ZLIB_LIBRARIES}) | ||||
|  | ||||
|   | ||||
| @@ -31,7 +31,6 @@ | ||||
|  * | ||||
|  * @param input_path Path to the input file in PACK200 format. System native string encoding. | ||||
|  * @param output_path Path to the output file in PACK200 format. System native string encoding. | ||||
|  * @return void | ||||
|  * @throw std::runtime_error for any error encountered | ||||
|  */ | ||||
| void unpack_200(FILE * input, FILE * output); | ||||
| void unpack_200(FILE * input_path, FILE * output_path); | ||||
|   | ||||
| @@ -23,6 +23,8 @@ | ||||
|  * questions. | ||||
|  */ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| struct bytes | ||||
| { | ||||
| 	int8_t *ptr; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Petr Mrázek
					Petr Mrázek