fix build-break for aarch64 accepted/tizen/unified/20171213.040821 submit/tizen/20171212.090714
authorBoram Park <boram1288.park@samsung.com>
Tue, 12 Dec 2017 09:42:06 +0000 (18:42 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 12 Dec 2017 09:42:06 +0000 (18:42 +0900)
Change-Id: I1ea0c302e37f3fd44ddce44fae8045b8041d166b

src/tdm_capture.c
src/tdm_layer.c
src/tdm_pp.c

index f0b4be681c2c72bec3d0e823c4f2d6a2f50034b4..9d924c2269d1ac3ab342f0be1f90817a6dd17979 100644 (file)
@@ -143,7 +143,7 @@ tdm_capture_cb_done(tdm_capture *capture_backend, tbm_surface_h buffer,
 
        if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
                tbm_bo bo = tbm_surface_internal_get_bo(buffer, 0);
-               TDM_TRACE_ASYNC_END((int)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
+               TDM_TRACE_ASYNC_END((intptr_t)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
        }
 
        if (!LIST_IS_EMPTY(&private_capture->buffer_list)) {
@@ -378,7 +378,7 @@ tdm_capture_destroy_internal(tdm_private_capture *private_capture)
 
                        if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
                                tbm_bo bo = tbm_surface_internal_get_bo(b->buffer, 0);
-                               TDM_TRACE_ASYNC_END((int)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
+                               TDM_TRACE_ASYNC_END((intptr_t)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
                        }
 
                        tdm_buffer_unref_backend(b->buffer);
@@ -403,7 +403,7 @@ tdm_capture_destroy_internal(tdm_private_capture *private_capture)
 
                        if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
                                tbm_bo bo = tbm_surface_internal_get_bo(b->buffer, 0);
-                               TDM_TRACE_ASYNC_END((int)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
+                               TDM_TRACE_ASYNC_END((intptr_t)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
                        }
 
                        tdm_buffer_unref_backend(b->buffer);
@@ -563,7 +563,7 @@ tdm_capture_attach(tdm_capture *capture, tbm_surface_h buffer)
 
        if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
                tbm_bo bo = tbm_surface_internal_get_bo(buffer, 0);
-               TDM_TRACE_ASYNC_BEGIN((int)capture, "[CAPTURE] %d", tbm_bo_export(bo));
+               TDM_TRACE_ASYNC_BEGIN((intptr_t)capture, "[CAPTURE] %d", tbm_bo_export(bo));
        }
 
        _pthread_mutex_unlock(&private_display->lock);
index d3786227f5ad6b1d6199e291a80f78c896ee01ef..2a7f3b1c7a44951e7825cb51e88a408809a3894e 100644 (file)
@@ -460,7 +460,7 @@ tdm_layer_set_buffer(tdm_layer *layer, tbm_surface_h buffer)
 
                if (tdm_ttrace_module & TDM_TTRACE_LAYER) {
                        tbm_bo bo = tbm_surface_internal_get_bo(private_layer->pending_buffer, 0);
-                       TDM_TRACE_ASYNC_END((int)private_layer, "[LAYER] %d", tbm_bo_export(bo));
+                       TDM_TRACE_ASYNC_END((intptr_t)private_layer, "[LAYER] %d", tbm_bo_export(bo));
                }
 
                tbm_surface_internal_unref(private_layer->pending_buffer);
@@ -475,7 +475,7 @@ tdm_layer_set_buffer(tdm_layer *layer, tbm_surface_h buffer)
 
        if (tdm_ttrace_module & TDM_TTRACE_LAYER) {
                tbm_bo bo = tbm_surface_internal_get_bo(private_layer->pending_buffer, 0);
-               TDM_TRACE_ASYNC_BEGIN((int)private_layer, "[LAYER] %d", tbm_bo_export(bo));
+               TDM_TRACE_ASYNC_BEGIN((intptr_t)private_layer, "[LAYER] %d", tbm_bo_export(bo));
        }
 
        _pthread_mutex_unlock(&private_display->lock);
@@ -542,7 +542,7 @@ tdm_layer_committed(tdm_private_layer *private_layer, tdm_private_layer_buffer *
        if (private_layer->showing_buffer) {
                if (tdm_ttrace_module & TDM_TTRACE_LAYER) {
                        tbm_bo bo = tbm_surface_internal_get_bo(private_layer->showing_buffer->buffer, 0);
-                       TDM_TRACE_ASYNC_END((int)private_layer, "[LAYER] %d", tbm_bo_export(bo));
+                       TDM_TRACE_ASYNC_END((intptr_t)private_layer, "[LAYER] %d", tbm_bo_export(bo));
                }
 
                _tdm_layer_free_buffer(private_layer, private_layer->showing_buffer);
index 53f8c739f1aa5961dce940666a2c7581c2a3dcc7..80eb33056c0586f2bfae8cd22b6ff13651c90317 100644 (file)
@@ -156,7 +156,7 @@ tdm_pp_cb_done(tdm_pp *pp_backend, tbm_surface_h src, tbm_surface_h dst,
 
                if (tdm_ttrace_module & TDM_TTRACE_PP) {
                        tbm_bo bo = tbm_surface_internal_get_bo(dst, 0);
-                       TDM_TRACE_ASYNC_END((int)private_pp, "[PP] %d", tbm_bo_export(bo));
+                       TDM_TRACE_ASYNC_END((intptr_t)private_pp, "[PP] %d", tbm_bo_export(bo));
                }
 
                _pthread_mutex_unlock(&private_display->lock);
@@ -293,7 +293,7 @@ tdm_pp_destroy_internal(tdm_private_pp *private_pp)
 
                        if (tdm_ttrace_module & TDM_TTRACE_PP) {
                                tbm_bo bo = tbm_surface_internal_get_bo(b->dst, 0);
-                               TDM_TRACE_ASYNC_END((int)private_pp, "[PP] %d", tbm_bo_export(bo));
+                               TDM_TRACE_ASYNC_END((intptr_t)private_pp, "[PP] %d", tbm_bo_export(bo));
                        }
 
                        tdm_buffer_unref_backend(b->src);
@@ -319,7 +319,7 @@ tdm_pp_destroy_internal(tdm_private_pp *private_pp)
 
                        if (tdm_ttrace_module & TDM_TTRACE_PP) {
                                tbm_bo bo = tbm_surface_internal_get_bo(b->dst, 0);
-                               TDM_TRACE_ASYNC_END((int)private_pp, "[PP] %d", tbm_bo_export(bo));
+                               TDM_TRACE_ASYNC_END((intptr_t)private_pp, "[PP] %d", tbm_bo_export(bo));
                        }
 
                        tdm_buffer_unref_backend(b->src);
@@ -486,7 +486,7 @@ tdm_pp_attach(tdm_pp *pp, tbm_surface_h src, tbm_surface_h dst)
 
        if (tdm_ttrace_module & TDM_TTRACE_PP) {
                tbm_bo bo = tbm_surface_internal_get_bo(dst, 0);
-               TDM_TRACE_ASYNC_BEGIN((int)pp, "[PP] %d", tbm_bo_export(bo));
+               TDM_TRACE_ASYNC_BEGIN((intptr_t)pp, "[PP] %d", tbm_bo_export(bo));
        }
 
        _pthread_mutex_unlock(&private_display->lock);