diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-27 19:09:56 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-27 19:09:56 -0400 |
commit | d08ab2ed72fb7590739612a7e5d37150a3bf972a (patch) | |
tree | 29e3462d1531816ae9fccf0fb8d59db1929c9f9b /libgps_shm.c | |
parent | 4eea65f0cd06ecd356fc371e707cda174537e616 (diff) | |
download | gpsd-d08ab2ed72fb7590739612a7e5d37150a3bf972a.tar.gz |
Begin splitting apart libgps_core.c into socket-export and generic functions.
Diffstat (limited to 'libgps_shm.c')
-rw-r--r-- | libgps_shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_shm.c b/libgps_shm.c index 99457842..4dccf7cc 100644 --- a/libgps_shm.c +++ b/libgps_shm.c @@ -74,7 +74,7 @@ int gps_shm_read(struct gps_data_t *gpsdata) after = shared->bookend2; /*@i1@*/gpsdata->privdata = shared; - return (before == after) ? sizeof(struct gps_data_t) : 0; + return (before == after) ? (int)sizeof(struct gps_data_t) : 0; } } |