Revision: 14665
Author: adrian.chadd
Date: Sun May 16 03:29:20 2010
Log: Use vector_get_real() for now; the inline version doesn't (yet) bounds check.


http://code.google.com/p/lusca-cache/source/detail?r=14665

Modified:
 /branches/LUSCA_HEAD/test-suite/atf/lib_Vector.c

=======================================
--- /branches/LUSCA_HEAD/test-suite/atf/lib_Vector.c Sun May 16 03:22:00 2010 +++ /branches/LUSCA_HEAD/test-suite/atf/lib_Vector.c Sun May 16 03:29:20 2010
@@ -1,4 +1,3 @@
-
 #include "include/config.h"

 #include <atf-c.h>
@@ -79,7 +78,7 @@
        }
        //printf("check\n");
        for (i = 0; i < 32; i++) {
-               n = (int *) vector_get(&v, i);
+               n = (int *) vector_get_real(&v, i);
                if (i < 16) {
                        //printf("%d: %p; used %d\n", i, n, v.used_count);
                        ATF_REQUIRE((*n) == i);

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to