Changed escaping of double quotes.
[mesa.git] / src / mesa / drivers / dri / common / texmem.c
index 8fdad87412471b31ed45a09db525d46b8517ada8..acefce0f5971302e793e36881bc479e575fe751b 100644 (file)
@@ -188,7 +188,7 @@ static void printLocalLRU( driTexHeap * heap, const char *callername  )
 static void printGlobalLRU( driTexHeap * heap, const char *callername )
 {
    drmTextureRegionPtr list = heap->global_regions;
-   int i, j;
+   unsigned int i, j;
 
    fprintf( stderr, "%s in %s:\nGlobal LRU, heap %d list %p:\n", 
            __FUNCTION__, callername, heap->heapId, (void *)list );
@@ -536,7 +536,7 @@ driAllocateTexture( driTexHeap * const * heap_array, unsigned nr_heaps,
       /* Trying to avoid dynamic memory allocation. If you have more
        * heaps, increase INDEX_ARRAY_SIZE. I'm not aware of any
        * drivers with more than 2 tex heaps. */
-      assert( nr_neaps < INDEX_ARRAY_SIZE );
+      assert( nr_heaps < INDEX_ARRAY_SIZE );
 
       /* Sort large enough heaps by duty. Insertion sort should be
        * fast enough for such a short array. */