summaryrefslogtreecommitdiff
path: root/shmexport.c
diff options
context:
space:
mode:
Diffstat (limited to 'shmexport.c')
-rw-r--r--shmexport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shmexport.c b/shmexport.c
index eaf8ddf6..bcd78821 100644
--- a/shmexport.c
+++ b/shmexport.c
@@ -63,7 +63,7 @@ void shm_update(struct gps_context_t *context, struct gps_data_t *gpsdata)
if (context->shmexport != NULL)
{
static int tick;
- struct shmexport_t *shared = (struct shmexport_t *)context->shmexport;
+ volatile struct shmexport_t *shared = (struct shmexport_t *)context->shmexport;
++tick;
/*