use sscanf with the correct type conversion and not atoi/atol to load nframes_t and...
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 4 Jul 2009 23:09:50 +0000 (23:09 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 4 Jul 2009 23:09:50 +0000 (23:09 +0000)
commit26c339b4bdde61c440893de6a5b222281a352272
treedbaf3ff9a40cdf59589d7f37a20175164485c5dd
parentedb73dcd3a7a326aa577262cbc70bdc20677173e
use sscanf with the correct type conversion and not atoi/atol to load nframes_t and nframes64_t in locations and playhead position. NOTE: other similar bugs may exist elsewhere

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5324 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/editor.cc
libs/ardour/location.cc