summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-04-22 11:26:26 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-04-22 11:26:26 +0200
commit83fec372b45eb0af9e2d83549b3d92afb17c38af (patch)
treeea2f0b60a3b9903fd620c5fdaffd9d8c831519ff /src/gallium/auxiliary
parented187d39a6e0fd921b2a45a143d88ac4b66eee91 (diff)
cso: Fix build on Win32.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_hash.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_hash.c b/src/gallium/auxiliary/cso_cache/cso_hash.c
index 8d867f86d2..0646efd952 100644
--- a/src/gallium/auxiliary/cso_cache/cso_hash.c
+++ b/src/gallium/auxiliary/cso_cache/cso_hash.c
@@ -228,8 +228,10 @@ struct cso_hash_iter cso_hash_insert(struct cso_hash *hash,
return null_iter;
}
- struct cso_hash_iter iter = {hash, node};
- return iter;
+ {
+ struct cso_hash_iter iter = {hash, node};
+ return iter;
+ }
}
}