- Don't use non-portable LL suffix on constants, since MSVC doesn't allow them. These constants all fit into ints any...

Original commit message from CVS:
- Don't use non-portable LL suffix on constants, since MSVC doesn't allow
them. These constants all fit into ints anyway.

- Continue to hate nano.
This commit is contained in:
Michael Smith 2005-10-13 11:36:14 +00:00
parent 43bc15fa94
commit bd3cff086d
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2005-10-13 Michael Smith <msmith@fluendo.com>
* ext/ogg/gstoggmux.c:
* gst/audioconvert/audioconvert.c: (float):
Don't use LL suffix, as it's not portable, and neither of these
uses required it anyway.
2005-10-12 Stefan Kost <ensonic@users.sf.net>
* examples/indexing/indexmpeg.c: (main):

View file

@ -131,8 +131,8 @@ enum
};
/* set to 0.5 seconds by default */
#define DEFAULT_MAX_DELAY 500000000LL
#define DEFAULT_MAX_PAGE_DELAY 500000000LL
#define DEFAULT_MAX_DELAY 500000000
#define DEFAULT_MAX_PAGE_DELAY 500000000
enum
{
ARG_0,

View file

@ -62,7 +62,7 @@ MAKE_UNPACK_FUNC_NAME (float) (gpointer src, gint32 * dst,
for (; count; count--) {
temp = *p++ * 2147483647.0f + .5;
*dst++ = (gint32) CLAMP (temp, -2147483648ll, 2147483647ll);
*dst++ = (gint32) CLAMP (temp, G_MININT, G_MAXINT);
}
}