[vte] [ring] Minor



commit f214a7b86a3a3f37fbcef457bdbe81ac08c302f6
Author: Behdad Esfahbod <behdad behdad org>
Date:   Mon Sep 7 21:37:31 2009 -0400

    [ring] Minor

 src/ring.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/ring.h b/src/ring.h
index 088afea..956ee33 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -84,13 +84,15 @@ typedef struct _VteCell {
 } VteCell;
 ASSERT_STATIC (sizeof (VteCell) == 8);
 
-static const union {
+typedef union _VteCellInt {
 	VteCell cell;
 	struct {
 		guint32 c;
 		guint32 attr;
 	} i;
-} basic_cell = {
+} VteCellInt;
+
+static const VteCellInt basic_cell = {
 	{
 		0,
 		{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]