Permalink
Browse files

Fix following splint warning.

src/ident.c: (in function ident_write_begin)
src/ident.c:201:14: Function write_u32 expects arg 1 to be uint32_t gets
int:
                       ~0
  Types are incompatible. (Use -type to inhibit warning)
  • Loading branch information...
1 parent 7c50a70 commit 8f0050b3eb3110b80b729167672ef938f734f6c4 @hiyuh hiyuh committed with May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ident.c
View
2 src/ident.c
@@ -185,7 +185,7 @@ ident_wr_ctx_t ident_write_begin(FILE *f)
// Write a placeholder that will later be overwritten with the
// offset of the identifier table
- write_u32(~0, ctx->file);
+ write_u32(UINT32_MAX, ctx->file);
return ctx;
}

0 comments on commit 8f0050b

Please sign in to comment.