project_files/hwc/rtl/misc.c
changeset 10242 0ab0d7fa1c62
parent 10241 2dc9ff47c5b9
child 11657 09ebdfe364d9
--- a/project_files/hwc/rtl/misc.c	Wed May 14 01:07:43 2014 +0400
+++ b/project_files/hwc/rtl/misc.c	Wed May 14 01:12:21 2014 +0400
@@ -127,7 +127,7 @@
 
 bool fpcrtl_strncompareA(astring a, astring b)
 {
-    return (a.len != b.len) || (memcmp(a.s, b.s, a.len + 1) != 0);
+    return (a.len != b.len) || (memcmp(a.s, b.s, a.len) != 0);
 }