aboutsummaryrefslogtreecommitdiff
path: root/include/sg_cmds_extra.h
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2007-12-19 16:35:49 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2007-12-19 16:35:49 +0000
commitb4530ba23ca6fb39e2bbf56afa4fdc892bf16910 (patch)
tree6a1ad36741c45c218f6ba11001c8260b18e4a09a /include/sg_cmds_extra.h
parent2fdbef700da5c71ab2eaf80547704d03e7a93f91 (diff)
downloadsg3_utils-b4530ba23ca6fb39e2bbf56afa4fdc892bf16910.tar.gz
change 'long long' to int64_t to stress only need 64 bit integers (similar change to uint64_t)
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@128 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include/sg_cmds_extra.h')
-rw-r--r--include/sg_cmds_extra.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/sg_cmds_extra.h b/include/sg_cmds_extra.h
index ef4b5afe..195195b5 100644
--- a/include/sg_cmds_extra.h
+++ b/include/sg_cmds_extra.h
@@ -141,9 +141,8 @@ extern int sg_ll_read_long10(int sg_fd, int pblock, int correct,
* SG_LIB_CAT_NOT_READY -> device not ready, SG_LIB_CAT_ABORTED_COMMAND,
* -1 -> other failure */
extern int sg_ll_read_long16(int sg_fd, int pblock, int correct,
- unsigned long long llba, void * resp,
- int xfer_len, int * offsetp, int noisy,
- int verbose);
+ uint64_t llba, void * resp, int xfer_len,
+ int * offsetp, int noisy, int verbose);
/* Invokes a SCSI READ MEDIA SERIAL NUMBER command. Return of 0 -> success,
* SG_LIB_CAT_INVALID_OP -> Read media serial number not supported,
@@ -266,9 +265,8 @@ extern int sg_ll_write_long10(int sg_fd, int cor_dis, int wr_uncor, int pblock,
* SG_LIB_CAT_NOT_READY -> device not ready, SG_LIB_CAT_ABORTED_COMMAND,
* -1 -> other failure */
extern int sg_ll_write_long16(int sg_fd, int cor_dis, int wr_uncor, int pblock,
- unsigned long long llba, void * data_out,
- int xfer_len, int * offsetp, int noisy,
- int verbose);
+ uint64_t llba, void * data_out, int xfer_len,
+ int * offsetp, int noisy, int verbose);
#ifdef __cplusplus
}