[Bugfix][API-193][Network]Fix incorrect CID parameter type

Change-Id: If472b07473d9ab77bb470f99ce7de7cbbcf613c3
diff --git a/src/lynq/lib/liblynq-network/lynq_network.cpp b/src/lynq/lib/liblynq-network/lynq_network.cpp
index 3f5dbe6..90ded4b 100755
--- a/src/lynq/lib/liblynq-network/lynq_network.cpp
+++ b/src/lynq/lib/liblynq-network/lynq_network.cpp
@@ -340,7 +340,7 @@
     return 0;

 }

 

-int copyCellInfoList(Parcel &p,int *cellinfo,int *tac,int *earfcn)

+int copyCellInfoList(Parcel &p,uint64_t *cellinfo,int *tac,int *earfcn)

 {

     int32_t v=0;

     int64_t v6=0;

@@ -350,6 +350,7 @@
     }

 

     int nothing = 0;

+    int tmp_uint64 = 0;

     p.readInt32(&v);

     RIL_CellInfoType cellinfoType  = RIL_CellInfoType(v);

     p.readInt32(&nothing);

@@ -364,10 +365,11 @@
             p.readInt32(&nothing);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

-            p.readInt32(cellinfo);

+            p.readInt32(&tmp_uint64);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

+            *cellinfo = (uint64_t)tmp_uint64;

             tac = &nothing;

             earfcn = &nothing;

             break;

@@ -376,10 +378,11 @@
             p.readInt32(&nothing);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

-            p.readInt32(cellinfo);

+            p.readInt32(&tmp_uint64);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

+            *cellinfo = (uint64_t)tmp_uint64;

             tac = &nothing;

             earfcn = &nothing;

             break;

@@ -403,7 +406,7 @@
         case RIL_CELL_INFO_TYPE_LTE: {

             p.readInt32(&nothing);

             p.readInt32(&nothing);

-            p.readInt32(cellinfo);

+            p.readInt32(&tmp_uint64);

             p.readInt32(&nothing);

             p.readInt32(tac);

             p.readInt32(earfcn);

@@ -413,15 +416,17 @@
             p.readInt32(&nothing);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

+            *cellinfo = (uint64_t)tmp_uint64;

             break;

         }

         case RIL_CELL_INFO_TYPE_TD_SCDMA: {

             p.readInt32(&nothing);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

-            p.readInt32(cellinfo);

+            p.readInt32(&tmp_uint64);

             p.readInt32(&nothing);

             p.readInt32(&nothing);

+            *cellinfo = (uint64_t)tmp_uint64;

             tac = &nothing;

             earfcn = &nothing;

             break;

@@ -429,7 +434,7 @@
         case RIL_CELL_INFO_TYPE_NR: {

             p.readInt32(&nothing);

             p.readInt32(&nothing);

-            p.readInt32(cellinfo);

+            p.readUint64(cellinfo);

             p.readInt32(&nothing);

             p.readInt32(tac);

             p.readInt32(earfcn);

@@ -442,7 +447,7 @@
             break;

         }

     }

-    LYINFLOG("CID in fUNC :%d",*cellinfo);

+    LYINFLOG("CID in fUNC :%llu",*cellinfo);

     LYINFLOG("tac in fUNC :%d",*tac);

     LYINFLOG("earfcn in fUNC :%d",*earfcn);

     return 0;

@@ -947,7 +952,7 @@
 

 }

 

-int lynq_query_cell_info(int cellinfo[CELLINFO_MAX_NUM],int tac[CELLINFO_MAX_NUM],int earfcn[CELLINFO_MAX_NUM],int * realNum)

+int lynq_query_cell_info(uint64_t cellinfo[CELLINFO_MAX_NUM],int tac[CELLINFO_MAX_NUM],int earfcn[CELLINFO_MAX_NUM],int * realNum)

 {

     int ret = -1;

     if(NULL == realNum)