diff options
author | Benoit Germain <bnt period germain arrobase gmail period com> | 2016-11-21 14:29:36 +0100 |
---|---|---|
committer | Benoit Germain <bnt period germain arrobase gmail period com> | 2016-11-21 14:29:36 +0100 |
commit | eec92f309d2b0c24946e0aebffabd80a91594840 (patch) | |
tree | 9b355e3e1e9f8222ceb153168b1398f12095b8e2 /src/lanes.c | |
parent | 295ba159356050037419cbdb5ba1d1e3362ce391 (diff) | |
download | lanes-eec92f309d2b0c24946e0aebffabd80a91594840.tar.gz lanes-eec92f309d2b0c24946e0aebffabd80a91594840.tar.bz2 lanes-eec92f309d2b0c24946e0aebffabd80a91594840.zip |
Fix 64 bits compilation warnings
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lanes.c b/src/lanes.c index 2cb1af8..ef08e3a 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
@@ -413,11 +413,11 @@ struct s_Linda | |||
413 | SIGNAL_T read_happened; | 413 | SIGNAL_T read_happened; |
414 | SIGNAL_T write_happened; | 414 | SIGNAL_T write_happened; |
415 | struct s_Universe* U; // the universe this linda belongs to | 415 | struct s_Universe* U; // the universe this linda belongs to |
416 | ptrdiff_t group; // a group to control keeper allocation between lindas | ||
416 | enum e_cancel_request simulate_cancel; | 417 | enum e_cancel_request simulate_cancel; |
417 | unsigned long group; // a group to control keeper allocation between lindas | ||
418 | char name[1]; | 418 | char name[1]; |
419 | }; | 419 | }; |
420 | #define LINDA_KEEPER_HASHSEED( linda) (linda->group ? linda->group : (unsigned long)linda) | 420 | #define LINDA_KEEPER_HASHSEED( linda) (linda->group ? linda->group : (ptrdiff_t)linda) |
421 | 421 | ||
422 | static void* linda_id( lua_State*, enum eDeepOp); | 422 | static void* linda_id( lua_State*, enum eDeepOp); |
423 | 423 | ||