8 Commits
Author SHA1 Message Date
Sergey Basalaev 0ba2f9c100 Fix common misspelling 2013-06-05 17:07:12 +07:00
Vivek Thampi cf0c5999f4 Add the -h option to udcli 2013-04-23 15:02:48 +05:30
Jamie Iles c777941e86 udcli: remove modification of const string.
ud_insn_hex() returns a const char * but we modify the string for
printing.  Rather than modifying (which is used to truncate to 16
chars), use a precision specifier instead.

This fixes:

udcli.c: In function ‘main’:
udcli.c:216:8: warning: assignment discards ‘const’ qualifier from
pointer target type [enabled by default]

Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
2013-04-02 13:23:43 +01:00
Jamie Iles 6225bb412f udcli: remove unused variable.
The mode variable isn't actually used - the mode setting is handled by
ud_set_mode() instead.  This fixes:

udcli.c:100:7: warning: variable ‘mode’ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
2013-04-02 13:19:16 +01:00
Vivek Thampi 66d1b91096 Clean up headers 2013-02-20 01:58:28 -08:00
Vivek Thampi 3d7198678c Cleanup FMT64 printf formatting for 64bit integers 2013-02-19 23:13:59 -08:00
spazzarama 148824bd07 Implemented Visual Studio 2010 build support 2013-02-12 17:47:28 +11:00
vivek thampi bbe4536903 Initial commit 2009-05-01 01:31:03 -07:00