Skip to content
Browse files

Use the right pointer type for return type in add_chunk

  • Loading branch information...
1 parent a738f91 commit 68f8cfe6457cb583c2217625ada193dc87a404b4 @nbrown committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/m0/c/m0_mob.c
View
4 src/m0/c/m0_mob.c
@@ -19,7 +19,7 @@ parse_mob_dirseg( M0_Interp *interp, FILE *stream );
static int
parse_mob_chunks( M0_Interp *interp, FILE *stream );
-static M0_Interp *
+static M0_Chunk *
add_chunk( M0_Interp *interp, const char *name,
unsigned long chunk_id, unsigned long name_length,
M0_Chunk *chunk);
@@ -164,7 +164,7 @@ parse_mob_dirseg( M0_Interp *interp, FILE *stream ) {
return 1;
}
-M0_Interp *
+M0_Chunk *
add_chunk( M0_Interp *interp, const char *name, unsigned long chunk_id,
unsigned long name_length,
M0_Chunk *chunk) {

0 comments on commit 68f8cfe

Please sign in to comment.
Something went wrong with that request. Please try again.