]> granicus.if.org Git - check/commit
Changing the value passed to malloc to be size_t instead of int
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 26 Sep 2013 02:31:39 +0000 (02:31 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 26 Sep 2013 02:31:39 +0000 (02:31 +0000)
commitfde98102265746bdc659d4dc6548ec569bcbce4d
treeece88c29289a999f71d54061e4226f5a51b87879
parenta5b84f97f4cab72033a6a74f28f73d05e670c187
Changing the value passed to malloc to be size_t instead of int

We should not pass a negative number to malloc. Making size
of type size_t to emphasize this.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@794 64e312b2-a51f-0410-8e61-82d0ca0eb02a
src/check_str.c