Permalink
Browse files

Do not use size_t where we may be dealing with signed ints

  • Loading branch information...
1 parent e8dbc90 commit 1bb54b3fa0bf707ac51f23128c9999d009c13563 @tsee tsee committed Oct 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Perl/Encoder/srl_encoder.c
@@ -847,7 +847,7 @@ srl_dump_sv(pTHX_ srl_encoder_t *enc, SV *src)
MAGIC *mg;
SV* refsv= NULL;
UV weakref_ofs= 0; /* preserved between loops */
- size_t ref_rewrite_pos= 0; /* preserved between loops */
+ ssize_t ref_rewrite_pos= 0; /* preserved between loops */
assert(src);
redo_dump:

0 comments on commit 1bb54b3

Please sign in to comment.