[mythtv-commits] Ticket #12237: Patch to correct allocator sizeof operand mismatch
MythTV
noreply at mythtv.org
Tue Aug 5 15:08:23 UTC 2014
#12237: Patch to correct allocator sizeof operand mismatch
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster | Owner:
<gary.buhrmaster@…> | Status: new
Type: Patch - Bug Fix | Milestone: unknown
Priority: trivial | Version: Master Head
Component: MythTV - General | Keywords:
Severity: low |
Ticket locked: 0 |
-------------------------------------------------+-------------------------
Static analysis (scan-build) reports that the allocator sizeof operand is
mismatched from the usage. While for all common architectures, the size
of a signed and unsigned char/int is the same, that is not assured for all
platforms. Patch is to use a consistent sizeof operand. This patch is
split into two parts, since it impacts two different files.
Patch 1 -
github ref:
https://github.com/garybuhrmaster/mythtv/commit/2c75c0cf4dde57f2f2c0857a0f807ef5289bf0ac
github git-am ref:
https://github.com/garybuhrmaster/mythtv/commit/2c75c0cf4dde57f2f2c0857a0f807ef5289bf0ac.patch
Patch 2 -
github ref:
https://github.com/garybuhrmaster/mythtv/commit/6d88020537a73c59bc350efe10ccde77817e783b
github git-am ref:
https://github.com/garybuhrmaster/mythtv/commit/6d88020537a73c59bc350efe10ccde77817e783b.patch
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12237>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list