By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2712
Collapse All | Expand All

(-)a/lib/chmlib/chm_lib.c (-17 / +13 lines)
Lines 56-61 Link Here
56
56
57
#include "lzx.h"
57
#include "lzx.h"
58
58
59
#include <stdint.h>
59
#include <stdlib.h>
60
#include <stdlib.h>
60
#include <string.h>
61
#include <string.h>
61
#ifdef CHM_DEBUG
62
#ifdef CHM_DEBUG
Lines 149-170 typedef unsigned __int32 UInt32; Link Here
149
typedef __int64                 Int64;
150
typedef __int64                 Int64;
150
typedef unsigned __int64        UInt64;
151
typedef unsigned __int64        UInt64;
151
152
152
/* I386, 32-bit, non-Windows */
153
/* Sparc        */
154
/* MIPS         */
155
/* PPC          */
156
#elif __i386__ || __sun || __sgi || __ppc__
157
typedef unsigned char           UChar;
158
typedef short                   Int16;
159
typedef unsigned short          UInt16;
160
typedef long                    Int32;
161
typedef unsigned long           UInt32;
162
typedef long long               Int64;
163
typedef unsigned long long      UInt64;
164
165
/* x86-64 */
153
/* x86-64 */
166
/* Note that these may be appropriate for other 64-bit machines. */
154
/* Note that these may be appropriate for other 64-bit machines. */
167
#elif __x86_64__ || __ia64__
155
#elif defined(__LP64__)
168
typedef unsigned char           UChar;
156
typedef unsigned char           UChar;
169
typedef short                   Int16;
157
typedef short                   Int16;
170
typedef unsigned short          UInt16;
158
typedef unsigned short          UInt16;
Lines 173-182 typedef unsigned int UInt32; Link Here
173
typedef long                    Int64;
161
typedef long                    Int64;
174
typedef unsigned long           UInt64;
162
typedef unsigned long           UInt64;
175
163
164
/* I386, 32-bit, non-Windows */
165
/* Sparc        */
166
/* MIPS         */
167
/* PPC          */
176
#else
168
#else
177
169
typedef unsigned char           UChar;
178
/* yielding an error is preferable to yielding incorrect behavior */
170
typedef short                   Int16;
179
#error "Please define the sized types for your platform in chm_lib.c"
171
typedef unsigned short          UInt16;
172
typedef long                    Int32;
173
typedef unsigned long           UInt32;
174
typedef long long               Int64;
175
typedef unsigned long long      UInt64;
180
#endif
176
#endif
181
177
182
/* GCC */
178
/* GCC */

Return to bug 2712