Minor optimization in new Hextile encoder. Values in m_counts map were
made short instead of int.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@314 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/hextileEncodeBetter.h b/rfb/hextileEncodeBetter.h
index c63ee14..a38648c 100644
--- a/rfb/hextileEncodeBetter.h
+++ b/rfb/hextileEncodeBetter.h
@@ -83,7 +83,7 @@
 
   /* FIXME: Use array for (BPP == 8)? */
   /* DEBUG: Use own hashing like in ZRLE? */
-  std::map<PIXEL_T,int> m_counts;
+  std::map<PIXEL_T,short> m_counts;
 };
 
 HEXTILE_SUBRECTS_TABLE::HEXTILE_SUBRECTS_TABLE()
@@ -163,7 +163,7 @@
 
   // Choose the best background color
   int maxCount = 0, count;
-  std::map<PIXEL_T,int>::iterator i;
+  std::map<PIXEL_T,short>::iterator i;
   for (i = m_counts.begin(); i != m_counts.end(); i++) {
     color = (*i).first;
     count = (*i).second;