Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
ee705326
Commit
ee705326
authored
Jul 25, 2002
by
Kurt Zeilenga
Browse files
More 64-bit hacking...
This code should be rewritten to avoid fixed sized types.
parent
90f12747
Changes
2
Hide whitespace changes
Inline
Side-by-side
libraries/liblunicode/ucdata/ucdata.c
View file @
ee705326
...
...
@@ -45,8 +45,8 @@
**************************************************************************/
typedef
struct
{
ac_uint
4
bom
;
ac_uint
4
cnt
;
ac_uint
2
bom
;
ac_uint
2
cnt
;
union
{
ac_uint4
bytes
;
ac_uint2
len
[
2
];
...
...
libraries/liblunicode/ucdata/ucgendat.c
View file @
ee705326
...
...
@@ -30,6 +30,7 @@
#include
"ldap_config.h"
#include
<stdio.h>
#include
<ac/bytes.h>
#include
<ac/stdlib.h>
#include
<ac/string.h>
#include
<ac/unistd.h>
...
...
@@ -1216,7 +1217,8 @@ static void
write_cdata
(
char
*
opath
)
{
FILE
*
out
;
unsigned
long
i
,
idx
,
bytes
,
nprops
;
ac_uint4
bytes
;
unsigned
long
i
,
idx
,
nprops
;
unsigned
short
casecnt
[
2
];
char
path
[
BUFSIZ
];
...
...
@@ -1268,7 +1270,7 @@ write_cdata(char *opath)
/*
* Write the header.
*/
fwrite
((
char
*
)
hdr
,
sizeof
(
unsigned
short
),
2
,
out
);
fwrite
((
char
*
)
hdr
,
sizeof
(
ac_uint4
),
2
,
out
);
/*
* Write the byte count.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment