Thierry Reding
6ac60c1791
compositor-wayland: Fix compiler warning
...
sizeof returns size_t, for which the correct printf specifier is %zu.
Fixes the following warning when building for ARMv7.
src/compositor-wayland.c: In function 'wayland_output_get_shm_buffer':
src/compositor-wayland.c:260:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=]
weston_log("could not zalloc %ld memory for sb: %m\n", sizeof *sb);
^
Signed-off-by: Thierry Reding <treding@nvidia.com >
2014-06-18 17:14:40 -07:00
..
2014-06-18 17:14:40 -07:00
2013-12-02 15:24:05 -08:00
2013-08-08 13:46:13 -07:00
2013-08-08 13:46:13 -07:00
2013-06-05 01:16:34 -04:00
2013-08-16 10:56:00 -07:00
2013-08-08 13:46:13 -07:00
2014-05-09 14:12:38 -07:00
2014-03-12 14:55:22 -07:00
2014-02-18 13:48:49 -08:00
2014-06-02 15:17:08 +02:00
2014-03-12 14:55:22 -07:00
2014-06-18 17:14:40 -07:00
2014-03-19 13:18:54 -07:00
2014-06-18 11:22:27 -07:00
2014-04-30 20:53:15 -07:00
2014-04-21 16:03:28 -07:00
2013-10-21 16:07:10 -07:00
2013-10-21 16:07:10 -07:00
2013-09-24 16:22:19 -07:00
2014-04-25 15:04:04 -07:00
2014-01-16 17:08:26 -08:00
2013-11-12 16:20:34 -08:00
2013-11-12 16:20:34 -08:00
2014-04-07 09:26:20 -07:00
2014-04-21 15:43:05 -07:00
2014-04-21 16:03:28 -07:00
2014-04-30 10:40:39 -07:00
2013-10-21 16:23:58 -07:00
2014-01-19 21:58:53 -08:00
2012-05-10 14:11:44 -04:00
2014-06-09 22:46:45 +02:00
2014-03-12 14:55:22 -07:00
2014-05-09 14:26:19 -07:00
2014-03-12 14:55:22 -07:00
2014-01-19 21:58:57 -08:00
2014-01-31 22:16:07 -08:00
2013-10-21 16:23:58 -07:00
2014-02-18 13:49:21 -08:00
2014-04-25 14:40:11 -07:00
2013-08-16 10:56:00 -07:00
2013-12-02 11:36:29 -08:00
2014-05-09 14:10:29 -07:00
2013-12-02 11:36:29 -08:00
2014-04-30 16:54:31 -07:00
2014-04-25 13:19:51 -07:00
2014-06-18 17:14:40 -07:00
2014-01-13 15:06:10 -08:00
2014-03-12 14:55:22 -07:00
2014-04-25 15:04:04 -07:00
2014-03-12 14:55:18 -07:00
2014-05-09 14:12:38 -07:00
2014-05-09 14:12:38 -07:00
2014-01-27 12:07:19 -08:00
2013-11-27 22:49:31 -08:00
2013-11-27 22:49:31 -08:00
2013-10-01 10:42:55 -07:00
2013-11-24 15:16:23 -08:00
2013-09-18 11:14:14 -07:00
2013-06-04 00:14:04 -04:00
2014-05-06 15:36:55 -07:00