~vcs-imports/gr-osmosdr/master

  • Committer: Dimitri Stolnikov
  • Author(s): Ruslan Migirov
  • Date: 2023-11-23 20:35:14 UTC
  • Revision ID: git-v1:48422c87a992a862358ef8115ccaaf93bfc1336a
Fix pointer-to-integer casting precision loss in gr-osmosdr

Changed the casting of pointers to `long int` to `reinterpret_cast<std::intptr_t>`
in `source_impl.cc` and `sink_impl.cc`. This resolves the issue of precision
loss when compiling on 64-bit systems, where the size of pointers is 64 bits
and `long int` is typically 32 bits. Using `std::intptr_t` ensures safe
and portable casting across different platforms.
Additionally this fixes build in MSYS2 MinGW64 environment.
Filename Latest Rev Last Changed Committer Comment Size
..
apps 1 11 years ago Dimitri Stolnikov initial commit Diff
cmake 1 11 years ago Dimitri Stolnikov initial commit Diff
debian 515 3 months ago Harald Welte Add debian packaging information This allows (amo Diff
docs 1 11 years ago Dimitri Stolnikov initial commit Diff
grc 1 11 years ago Dimitri Stolnikov initial commit Diff
include 1 11 years ago Dimitri Stolnikov initial commit Diff
lib 1 11 years ago Dimitri Stolnikov initial commit Diff
python 1 11 years ago Dimitri Stolnikov initial commit Diff
.gitignore 496 1 year ago Eric Wild add a reasonable .gitignore 32 bytes Diff Download File
AUTHORS 414 6 years ago Dimitri Stolnikov Add support for FreeSRP This patch adds support f 181 bytes Diff Download File
CMakeLists.txt 509 1 year ago Eric Wild Re-add mirisdr support This was originally remove 9.1 KB Diff Download File
COPYING 13 11 years ago Dimitri Stolnikov update license file to GPL v3 as in source 34.3 KB Diff Download File
MANIFEST.md 516 3 months ago Harald Welte The old git:// protocol is long deprecated, use ht 1.1 KB Diff Download File
README.md 517 3 months ago Harald Welte convert README to markdow; expand/update it slight 3.3 KB Diff Download File