summaryrefslogtreecommitdiff
path: root/tests/conform/test-path.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conform/test-path.c')
-rw-r--r--tests/conform/test-path.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/conform/test-path.c b/tests/conform/test-path.c
index a7a6f3c6..fbe1fcdd 100644
--- a/tests/conform/test-path.c
+++ b/tests/conform/test-path.c
@@ -26,7 +26,7 @@ draw_path_at (int x, int y)
static void
check_block (int block_x, int block_y, int block_mask)
{
- guint32 data[BLOCK_SIZE * BLOCK_SIZE];
+ uint32_t data[BLOCK_SIZE * BLOCK_SIZE];
int qx, qy;
/* Block mask represents which quarters of the block should be
@@ -38,7 +38,7 @@ check_block (int block_x, int block_y, int block_mask)
block_y * BLOCK_SIZE,
BLOCK_SIZE, BLOCK_SIZE,
COGL_PIXEL_FORMAT_RGBA_8888_PRE,
- (guint8 *)data);
+ (uint8_t *)data);
for (qy = 0; qy < 2; qy++)
for (qx = 0; qx < 2; qx++)
@@ -50,7 +50,7 @@ check_block (int block_x, int block_y, int block_mask)
for (x = 0; x < BLOCK_SIZE / 2 - TEST_INSET * 2; x++)
for (y = 0; y < BLOCK_SIZE / 2 - TEST_INSET * 2; y++)
{
- const guint32 *p = data + (qx * BLOCK_SIZE / 2 +
+ const uint32_t *p = data + (qx * BLOCK_SIZE / 2 +
qy * BLOCK_SIZE * BLOCK_SIZE / 2 +
(x + TEST_INSET) +
(y + TEST_INSET) * BLOCK_SIZE);