[vorbis-dev] MSVC warnings

Dimitry Andric dim at xs4all.nl
Sat Jan 5 17:53:29 PST 2002



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2002-01-06 at 02:47:36 Segher Boessenkool wrote:

SB> What's a "4244"?

'conversion' conversion from 'type1' to 'type2', possible loss of data

With vorbis, these are mostly complaints about float->int
conversions, etc.

>>     ret=-1UL;

SB> If you know a better *portable* way of generating a "negative" unsigned
SB> number, please tell :-)

Maybe just

    ret = (unsigned long) -1L;

? At least it would eliminate the warning.

Cheers,
- --
Dimitry Andric <dim at xs4all.nl>
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm

iQA/AwUBPDegELBeowouIJajEQIRFwCeJFgPbLT0YlHv+miFWSKPp//rMnAAoOMY
IYi7dZ/FNufdhCPuKecLZt3S
=Nl54
-----END PGP SIGNATURE-----

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list