[pisa-src] r2291 - trunk/libpisa/dict-maa.h

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 15 Apr 2010 16:08:13 +0200

Author: gherzan
Date: Thu Apr 15 16:08:12 2010
New Revision: 2291

Log:
libpisa: fix an equality test in the libmaa wrapper

Modified:
   trunk/libpisa/dict-maa.h

Modified: trunk/libpisa/dict-maa.h
==============================================================================
--- trunk/libpisa/dict-maa.h    Thu Apr 15 15:56:22 2010        (r2290)
+++ trunk/libpisa/dict-maa.h    Thu Apr 15 16:08:12 2010        (r2291)
@@ -63,7 +63,7 @@
     const uint32_t v1 = *(const uint32_t *)k1;
     const uint32_t v2 = *(const uint32_t *)k2;
 
-    if (v1 == v1) {
+    if (v1 == v2) {
         return 0;
     } else {
         return (v1 > v2) ? 1 : -1;

Other related posts:

  • » [pisa-src] r2291 - trunk/libpisa/dict-maa.h - Mircea Gherzan