• Max Kellermann's avatar
    don't use short chunk numbers · 0c46dd68
    Max Kellermann authored
    Don't be mean with integer sizes.  Although we will probably never
    have more than 32k buffered chunks, we should use 32 bit integers for
    addressing them.  We do not save very much (some of the saved space is
    eaten by alignment anyway), but we save at least one assembler
    instruction for converting short to int.
    
    This change requires some more explicit casts, because gcc was less
    picky when comparing short with a full int.
    
    git-svn-id: https://svn.musicpd.org/mpd/trunk@7313 09075e82-0dd4-0310-85a5-a0d7c8717e4f
    0c46dd68
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...