mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-02 19:59:21 +02:00
Merge branch 'clang64-strfuncs-test' into 'main'
tests: Use integer widths rather than maximum values for strfuncs check See merge request GNOME/glib!4843
This commit is contained in:
@@ -293,7 +293,7 @@ test_gpoll (void)
|
||||
|
||||
for (i = 0; i < REPEAT; i++)
|
||||
{
|
||||
gint r, s, v, t;
|
||||
gint r, s, v, t = 0;
|
||||
gint64 diff;
|
||||
MSG msg;
|
||||
gboolean found_app;
|
||||
@@ -348,7 +348,7 @@ test_gpoll (void)
|
||||
|
||||
for (i = 0; i < REPEAT; i++)
|
||||
{
|
||||
gint r, s, v, t;
|
||||
gint r, s, v, t = 0;
|
||||
gint64 diff;
|
||||
|
||||
reset_fds (fds, NUM_POLLEES);
|
||||
@@ -394,7 +394,7 @@ test_gpoll (void)
|
||||
|
||||
for (i = 0; i < REPEAT; i++)
|
||||
{
|
||||
gint r, s, v, t;
|
||||
gint r, s, v, t = 0;
|
||||
gint64 diff;
|
||||
gint j;
|
||||
|
||||
@@ -443,7 +443,7 @@ test_gpoll (void)
|
||||
|
||||
for (i = 0; i < REPEAT; i++)
|
||||
{
|
||||
gint r, s, v, t;
|
||||
gint r, s, v, t = 0;
|
||||
gint64 diff;
|
||||
gint j;
|
||||
MSG msg;
|
||||
@@ -501,7 +501,7 @@ test_gpoll (void)
|
||||
|
||||
for (i = 0; i < REPEAT; i++)
|
||||
{
|
||||
gint r, s, v, t;
|
||||
gint r, s, v, t = 0;
|
||||
gint64 diff;
|
||||
gint j;
|
||||
|
||||
@@ -551,7 +551,7 @@ test_gpoll (void)
|
||||
|
||||
for (i = 0; i < REPEAT; i++)
|
||||
{
|
||||
gint r, s, v, t;
|
||||
gint r, s, v, t = 0;
|
||||
gint64 diff;
|
||||
gint j;
|
||||
MSG msg;
|
||||
|
@@ -664,7 +664,7 @@ test_strconcat (void)
|
||||
static void
|
||||
test_strjoinv_overflow (void)
|
||||
{
|
||||
#if G_MAXSIZE > G_MAXUINT
|
||||
#if GLIB_SIZEOF_SIZE_T > (UINT_WIDTH / 8)
|
||||
g_test_skip ("Overflow joining strings requires G_MAXSIZE <= G_MAXUINT.");
|
||||
#else
|
||||
if (!g_test_undefined ())
|
||||
|
Reference in New Issue
Block a user