[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch-gnuradio] gr_head should take longs
From: |
Martin Braun |
Subject: |
[Patch-gnuradio] gr_head should take longs |
Date: |
Wed, 2 Dec 2009 15:47:00 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
Hi,
I ran into a problem when doing some tests where I piped 1e6 samples
through a filter. The problem is, gr_head() can only go as far as
MAX_INT when limiting data. However, I don't really see a reason why the
counter shouldn't be an unsigned long. Otherwise, such applications
would require some workarounds with vectors or otherwise, which I find a
bit ugly. Here's the patch. Made against #11663 in SVN.
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
patch_gr_head.diff
Description: Text Data
pgpYnke6Wlt12.pgp
Description: PGP signature
- [Patch-gnuradio] gr_head should take longs,
Martin Braun <=