Skip to content

Commit

Permalink
Eliminate casting warning with an explicit cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrown committed Apr 9, 2012
1 parent 5e0e065 commit a66e969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/m0/c/m0_mob.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ validate_mob_version( M0_Interp *interp, FILE *stream ) {
int version = read_int_from_stream( stream ); int version = read_int_from_stream( stream );


if (version == 0) { if (version == 0) {
((uint64_t*)(*interp)[CONFIG])[CFG_M0V] = 0; ((uint64_t*)(*interp)[CONFIG])[CFG_M0V] = (uint64_t)0;
return 1; return 1;
} }


Expand Down

0 comments on commit a66e969

Please sign in to comment.