diff options
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch b/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch index 0328202f1b..f16f3e1d97 100644 --- a/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch +++ b/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch | |||
@@ -23,7 +23,7 @@ Upstream-Status: Inappropriate [oe-specific] | |||
23 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 23 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
24 | 24 | ||
25 | Refresh the patch | 25 | Refresh the patch |
26 | Don't use explicit type cast to avoid truncation, use long long for tv_sec. | 26 | Don't use explicit type cast to avoid truncation, use time_t for tv_sec. |
27 | 27 | ||
28 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | 28 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
29 | 29 | ||
@@ -40,7 +40,7 @@ index 7418f89..f0f30b2 100644 | |||
40 | GList *tmp; | 40 | GList *tmp; |
41 | gint64 now; | 41 | gint64 now; |
42 | - long tv_sec, tv_usec; | 42 | - long tv_sec, tv_usec; |
43 | + long long tv_sec; | 43 | + time_t tv_sec; |
44 | + long tv_usec; | 44 | + long tv_usec; |
45 | double elapsed; | 45 | double elapsed; |
46 | 46 | ||
diff --git a/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch b/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch index 4e23f613aa..d9ca1f0cd9 100644 --- a/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch +++ b/meta-gnome/recipes-gnome/libwnck/files/0001-tasklist.c-fix-Wincompatible-pointer-types-error.patch | |||
@@ -32,7 +32,7 @@ index 4f0c6c4..758fc5f 100644 | |||
32 | GList *tmp; | 32 | GList *tmp; |
33 | GTimeVal now; | 33 | GTimeVal now; |
34 | - long tv_sec, tv_usec; | 34 | - long tv_sec, tv_usec; |
35 | + long long tv_sec; | 35 | + time_t tv_sec; |
36 | + long tv_usec; | 36 | + long tv_usec; |
37 | double elapsed; | 37 | double elapsed; |
38 | 38 | ||