summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/util.c b/tests/util.c
index 922818a..ecd83eb 100644
--- a/tests/util.c
+++ b/tests/util.c
@@ -81,9 +81,9 @@ static void test_unix2dos(void)
static const struct {
unsigned width;
unsigned height;
- guint8 *and;
- guint8 *xor;
- guint8 *dest;
+ gchar *and;
+ gchar *xor;
+ gchar *dest;
} mono[] = {
{
8, 6,
@@ -123,8 +123,8 @@ static void test_set_bit(void)
{
struct {
unsigned len;
- guint8 *src;
- guint8 *dest;
+ gchar *src;
+ gchar *dest;
} tests[] = {
{
4,
@@ -140,7 +140,7 @@ static void test_set_bit(void)
int i, j, bit;
guint8 *dest;
int bytes;
-
+
for (i = 0 ; i < G_N_ELEMENTS(tests); ++i) {
bytes = (tests[i].len + 7) / 8;
dest = g_malloc0(bytes);