i965/drm: Make stride/pitch a uint32_t.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_bufmgr.h
index 2c221850afc48d04baff845a4faa51034d2b6ecb..93a929d20e3b060374ed4829d1f2d396d3aa4196 100644 (file)
@@ -109,7 +109,7 @@ struct brw_bo {
     */
    uint32_t tiling_mode;
    uint32_t swizzle_mode;
-   unsigned long stride;
+   uint32_t stride;
 
    time_t free_time;
 
@@ -161,7 +161,7 @@ struct brw_bo *brw_bo_alloc_tiled(struct brw_bufmgr *bufmgr,
                                   const char *name,
                                   int x, int y, int cpp,
                                   uint32_t tiling_mode,
-                                  unsigned long *pitch,
+                                  uint32_t *pitch,
                                   unsigned long flags);
 
 /** Takes a reference on a buffer object */