projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "[build] Remove stale LDADD lines from tests/Makefile.am to allow build"
[platform/upstream/glib.git]
/
tests
/
atomic-test.c
diff --git
a/tests/atomic-test.c
b/tests/atomic-test.c
index
323fec8
..
c2a67e4
100644
(file)
--- a/
tests/atomic-test.c
+++ b/
tests/atomic-test.c
@@
-13,7
+13,7
@@
main (int argc,
gint i;
gint atomic = -5;
gpointer atomic_pointer = NULL;
- gpointer biggest_pointer =
atomic_pointer - 1
;
+ gpointer biggest_pointer =
(gpointer)((gsize)atomic_pointer - 1)
;
for (i = 0; i < 15; i++)
g_atomic_int_inc (&atomic);