]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add a comment.
authorFlorian Krohm <florian@eich-krohm.de>
Wed, 5 Aug 2015 13:25:58 +0000 (13:25 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Wed, 5 Aug 2015 13:25:58 +0000 (13:25 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15493

coregrind/m_xarray.c

index 726dd55470cabd6b20938d19bd5c5ac67702835c..3922e527657e53c58b957884678dced1b401db40 100644 (file)
@@ -278,6 +278,9 @@ Bool VG_(lookupXA) ( const XArray* xa, const void* key,
    return VG_(lookupXA_UNSAFE)(xa, key, first, last, xa->cmpFn);
 }
 
+/* FIXME: This function should return an unsigned value because the number
+   of elements cannot be negative. Unfortunately, making the change causes
+   a lot of ripple. */
 Word VG_(sizeXA) ( const XArray* xa )
 {
    vg_assert(xa);