summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarshdeep Vaghela <harsh.v@samsung.com>2016-12-08 19:05:06 +0530
committerHarshdeep Vaghela <harsh.v@samsung.com>2016-12-08 19:05:06 +0530
commit9f64896b1224021b856f17d8f25f3d7a6c7ab443 (patch)
tree8cced7bd8a5cdfd9c8cffb3171a693d4e13da405
parent350d12f61e76deef04f3bd17bd87e6449cee0aac (diff)
downloadtimer-9f64896b1224021b856f17d8f25f3d7a6c7ab443.tar.gz
timer-9f64896b1224021b856f17d8f25f3d7a6c7ab443.tar.bz2
timer-9f64896b1224021b856f17d8f25f3d7a6c7ab443.zip
[Timer] Fixing SVACE issuessubmit/tizen_3.0/20161208.150108
Change-Id: I7c0ea74665ebdcc8c6c57aa5a5f2f17bb46ac4d1 Signed-off-by: Harshdeep Vaghela <harsh.v@samsung.com>
-rwxr-xr-xinc/main.h1
-rwxr-xr-xsrc/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/inc/main.h b/inc/main.h
index f83d455..6b50952 100755
--- a/inc/main.h
+++ b/inc/main.h
@@ -74,6 +74,7 @@ typedef enum {
typedef enum {
TMR_SYSTIME_TYPE_USEC,
TMR_SYSTIME_TYPE_SEC,
+ TMR_SYSTIME_TYPE_MAX,
} TMR_SYSTIME_TYPE;
diff --git a/src/main.c b/src/main.c
index 89b4db0..432a533 100755
--- a/src/main.c
+++ b/src/main.c
@@ -190,7 +190,7 @@ static void _tmr_string_to_upper(char *text)
gchar *strLower = (gchar *)text;
gchar *goodUpper = g_utf8_strup(strLower, -1);
- strncpy(text, goodUpper, strlen(goodUpper));
+ strncpy(text, goodUpper, strlen(text));
g_free(goodUpper);
}