mirror of https://github.com/drh/lcc.git
Fix issues 11 and 12 reported by Martin Ettl.
This commit is contained in:
parent
57047a2712
commit
3b3f01b410
|
@ -97,7 +97,7 @@ memmove(void *dp, const void *sp, size_t n)
|
|||
{
|
||||
unsigned char *cdp, *csp;
|
||||
|
||||
if (n<=0)
|
||||
if (n==0)
|
||||
return 0;
|
||||
cdp = dp;
|
||||
csp = (unsigned char *)sp;
|
||||
|
|
Loading…
Reference in New Issue