Fix build break and warnings on 64bit system 70/36570/1 accepted/tizen/common/20150310.094549 accepted/tizen/mobile/20150310.122152 accepted/tizen/tv/20150310.113232 accepted/tizen/wearable/20150310.122345 submit/tizen/20150310.070227
authorHyunjun <zzoon.ko@samsung.com>
Tue, 10 Mar 2015 06:53:50 +0000 (15:53 +0900)
committerHyunjun <zzoon.ko@samsung.com>
Tue, 10 Mar 2015 06:53:50 +0000 (15:53 +0900)
Change-Id: I40ba889e9ca04caf903c2ed4f0cf7fd170fd2886

packaging/libmm-scmirroring-common.spec
wfdconfig/Makefile.am
wfdconfig/wfdconfigmessage.c

index e04aaf7..a189770 100755 (executable)
@@ -43,11 +43,11 @@ export CFLAGS+=" -Wall -Wcast-qual -Wno-empty-body"
 # always enable sdk build. This option should go away
 # to enable context manager add --enable-context-manager in following line
 # postfix the '--define "sec_product_feature_mmfw_codec_qc 1"' to gbs compilation command to enable QC MSM specific changes. While building for target SCM will automatically take care of it
-./configure --prefix=%{_prefix} --disable-static
+%configure --disable-static
 
 # Call make instruction with smp support
-#make %{?jobs:-j%jobs}
-make
+make %{?jobs:-j%jobs}
+
 %install
 rm -rf %{buildroot}
 %make_install
index aa700aa..075faa0 100755 (executable)
@@ -6,7 +6,7 @@ includelibmmfwfdconfig_HEADERS = include/wfdconfigmessage.h
 
 libmmfwfdconfig_la_SOURCES = wfdconfigmessage.c
 
-libmmfwfdconfig_la_CFLAGS = -Werror -I$(srcdir)/include \
+libmmfwfdconfig_la_CFLAGS = -I$(srcdir)/include \
         $(GLIB_CFLAGS) \
         $(MMCOMMON_CFLAGS)
 
index bb0803e..a01cd5c 100755 (executable)
@@ -417,8 +417,8 @@ wfdconfig_message_as_text (const WFDMessage * msg)
   if(msg->av_format_change_timing) {
     g_string_append_printf (lines,"wfd_av_format_change_timing");
     g_string_append_printf (lines,":");
-    g_string_append_printf (lines," %10llu", msg->av_format_change_timing->PTS);
-    g_string_append_printf (lines," %10llu", msg->av_format_change_timing->DTS);
+    g_string_append_printf (lines," %10"G_GUINT64_FORMAT, msg->av_format_change_timing->PTS);
+    g_string_append_printf (lines," %10"G_GUINT64_FORMAT, msg->av_format_change_timing->DTS);
     g_string_append_printf (lines,"\r\n");
   }
 
@@ -426,7 +426,7 @@ wfdconfig_message_as_text (const WFDMessage * msg)
     g_string_append_printf (lines,"wfd_preferred_display_mode");
     g_string_append_printf (lines,":");
     if(msg->preferred_display_mode->displaymodesupported) {
-      g_string_append_printf (lines," %06llu", msg->preferred_display_mode->p_clock);
+      g_string_append_printf (lines," %06"G_GUINT64_FORMAT, msg->preferred_display_mode->p_clock);
       g_string_append_printf (lines," %04x", msg->preferred_display_mode->H);
       g_string_append_printf (lines," %04x", msg->preferred_display_mode->HB);
       g_string_append_printf (lines," %04x", msg->preferred_display_mode->HSPOL_HSOFF);