summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-01-15 15:22:35 -0500
committerRyan Lortie <desrt@desrt.ca>2013-01-15 15:22:35 -0500
commit42c2c4f67da404330960ca307393ad71e68c167d (patch)
tree5cbd3af2f5a7ede8527d9ca5269cddec935af706
parent83e5d169d6f0fd3d0427bc3599df8e777b275d9f (diff)
downloadglib-42c2c4f67da404330960ca307393ad71e68c167d.tar.gz
mainloop test: fix a small typo
This g_assert() could never possibly fail, as it was.
-rw-r--r--glib/tests/mainloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/mainloop.c b/glib/tests/mainloop.c
index 66871a316..e66216dec 100644
--- a/glib/tests/mainloop.c
+++ b/glib/tests/mainloop.c
@@ -912,7 +912,7 @@ write_bytes (gint fd,
return FALSE;
/* Detect if we run before we should */
- g_assert (to_write >= 0);
+ g_assert (*to_write >= 0);
limit = MIN (*to_write, sizeof zeros);
*to_write -= write (fd, zeros, limit);