home · contact · privacy
Fixed README typo.
[plomrogue] / src / yx_uint16.c
index 0f4447382e00c268291040f71cf80b623516356f..54274f404223486af0dee1735e3b9014d51ba8a1 100644 (file)
@@ -6,9 +6,9 @@
 
 
 
-extern uint8_t yx_uint16_cmp(struct yx_uint16 a, struct yx_uint16 b)
+extern uint8_t yx_uint16_cmp(struct yx_uint16 * a, struct yx_uint16 * b)
 {
-    if (a.y == b.y && a.x == b.x)
+    if (a->y == b->y && a->x == b->x)
     {
         return 1;
     }