Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
6badc772
Commit
6badc772
authored
Sep 17, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial bug fixes.
Rev: src/alist.c:1.2
parent
b3e21dc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/alist.c
src/alist.c
+2
-2
No files found.
src/alist.c
View file @
6badc772
...
...
@@ -44,7 +44,7 @@ static void *do_get(struct alist *c, int atom)
assert
(
atom
>=
0
);
assert
(
atom
<
NUMBER_OF_ATOMS
);
return
(
struct
alist_table
*
)
c
->
table
[
atom
];
return
(
(
struct
alist_table
*
)
c
)
->
table
[
atom
];
}
static
void
do_set
(
struct
alist
*
c
,
int
atom
,
void
*
value
)
...
...
@@ -52,7 +52,7 @@ static void do_set(struct alist *c, int atom, void *value)
assert
(
atom
>=
0
);
assert
(
atom
<
NUMBER_OF_ATOMS
);
(
struct
alist_table
*
)
c
->
table
[
atom
]
=
value
;
(
(
struct
alist_table
*
)
c
)
->
table
[
atom
]
=
value
;
}
struct
alist
*
make_alist
(
int
n
,
...)
...
...
Write
Preview
Markdown
is supported
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