         switch(plan->m_config.datatype)
         {
         case CUDPP_UINT:
-            radixSortKeysOnly((uint*)keys, plan, false, 
-                              numElements, keyBits);
+            radixSortKeysOnly((uint*)keys, plan, 
+                              numElements, false, keyBits);
             break;
         case CUDPP_FLOAT:
-            radixSortFloatKeysOnly((float*)keys, plan, true,
-                                    numElements, keyBits);
+            radixSortFloatKeysOnly((float*)keys, plan, 
+                                    numElements, true, keyBits);
         }
     }
     else

extern "C"
void radixSortFloatKeysOnly(float *keys, 
                            const CUDPPRadixSortPlan *plan,                        
                            bool  negativeKeys,
                            size_t numElements,
                            int keyBits)
{
    radixSortKeysOnly((uint*)keys, plan, negativeKeys, numElements, keyBits);

extern "C"
void radixSortKeysOnly(uint *keys,
                       const CUDPPRadixSortPlan *plan, 
                       size_t numElements,
                       bool flipBits, 
                       int keyBits)
{

