[Notification] Fix display of number attribute in the notification 09/88809/1
authorJakub Skowron <j.skowron@samsung.com>
Tue, 20 Sep 2016 14:39:40 +0000 (16:39 +0200)
committerJakub Skowron <j.skowron@samsung.com>
Tue, 20 Sep 2016 14:39:40 +0000 (16:39 +0200)
commit17bb2a05624a2d9630c43e158ae8bc637c5580fc
treebd4e89486c5732089d1da6a717724b096e38342a
parent9a8287878283d8a4e0dce448bf3af69900f8aeb8
[Notification] Fix display of number attribute in the notification

std::to_string uses %f formatting (i.e x.xxxxxx) for doubles
Explicitly cast number to long, as defined:

   attribute long? number;

Change-Id: I8aacb5ca80b9b5fc9cc01452a1c227ac2da26e65
Signed-off-by: Jakub Skowron <j.skowron@samsung.com>
src/notification/status_notification.cc