197
197
 
198
198
 
    /* check args */
199
199
 
    HDassert(f);
200
200
 
    HDassert(p);
201
201
 
    HDassert(linfo);
202
202
 
203
203
 
    /* Message version */
204
204
 
    *p++ = H5O_LINFO_VERSION;
205
205
 
206
206
 
    /* The flags for the link indices */
207
 
-
    index_flags = linfo->track_corder ? H5O_LINFO_TRACK_CORDER : 0;
 
207
+
    index_flags = (uint8_t)(linfo->track_corder ? H5O_LINFO_TRACK_CORDER : 0);
208
208
 
    index_flags = (uint8_t)(index_flags | (linfo->index_corder ? H5O_LINFO_INDEX_CORDER : 0));
209
209
 
    *p++ = index_flags;
210
210
 
211
211
 
    /* Max. link creation order value for the group, if tracked */
212
212
 
    if(linfo->track_corder)
213
213
 
        INT64ENCODE(p, linfo->max_corder)
214
214
 
215
215
 
    /* Address of fractal heap to store "dense" links */
216
216
 
    H5F_addr_encode(f, &p, linfo->fheap_addr);
217
217