[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] gr-error-correcting-codes/src/lib/libecc/mld n2...
From: |
Eric Blossom |
Subject: |
[Commit-gnuradio] gr-error-correcting-codes/src/lib/libecc/mld n2... |
Date: |
Fri, 04 Aug 2006 15:34:49 +0000 |
CVSROOT: /sources/gnuradio
Module name: gr-error-correcting-codes
Changes by: Eric Blossom <eb> 06/08/04 15:34:49
Modified files:
src/lib/libecc/mld: n2bs.cc
Log message:
fixed compilation problem on x86_64
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gr-error-correcting-codes/src/lib/libecc/mld/n2bs.cc?cvsroot=gnuradio&r1=1.2&r2=1.3
Patches:
Index: n2bs.cc
===================================================================
RCS file:
/sources/gnuradio/gr-error-correcting-codes/src/lib/libecc/mld/n2bs.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- n2bs.cc 2 Aug 2006 01:28:44 -0000 1.2
+++ n2bs.cc 4 Aug 2006 15:34:49 -0000 1.3
@@ -63,12 +63,6 @@
digits = sizeof (int32_t);
return DoIt ((int64_t) number, digits);
}
-std::string n2bs (long number, size_t digits)
-{
- if (digits > (sizeof (long) * g_num_bits_per_byte))
- digits = sizeof (long);
- return DoIt ((int64_t) number, digits);
-}
std::string n2bs (u_int8_t number, size_t digits)
{
if (digits > (sizeof (u_int8_t) * g_num_bits_per_byte))
@@ -87,12 +81,6 @@
digits = sizeof (u_int32_t);
return DoIt ((int64_t) number, digits);
}
-std::string n2bs (unsigned long number, size_t digits)
-{
- if (digits > (sizeof (unsigned long) * g_num_bits_per_byte))
- digits = sizeof (unsigned long);
- return DoIt ((int64_t) number, digits);
-}
std::string n2bs (u_int64_t number, size_t digits)
{
if (digits > (sizeof (u_int64_t) * g_num_bits_per_byte))
- [Commit-gnuradio] gr-error-correcting-codes/src/lib/libecc/mld n2...,
Eric Blossom <=