summaryrefslogtreecommitdiff
path: root/libgps_shm.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-27 19:09:56 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-27 19:09:56 -0400
commitd08ab2ed72fb7590739612a7e5d37150a3bf972a (patch)
tree29e3462d1531816ae9fccf0fb8d59db1929c9f9b /libgps_shm.c
parent4eea65f0cd06ecd356fc371e707cda174537e616 (diff)
downloadgpsd-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.c2
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;
}
}