]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/monitor.c
Change to_xfer_partial 'len' type to ULONGEST.
[thirdparty/binutils-gdb.git] / gdb / monitor.c
index c86f040b55cba9f746c93ec7f7977c93f1262096..94b3a75dd5d00443e874042f49365171f4c11591 100644 (file)
@@ -2020,7 +2020,7 @@ monitor_read_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
 
 static LONGEST
 monitor_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
-                    ULONGEST memaddr, LONGEST len)
+                    ULONGEST memaddr, ULONGEST len)
 {
   int res;
 
@@ -2046,7 +2046,7 @@ monitor_xfer_memory (gdb_byte *readbuf, const gdb_byte *writebuf,
 static LONGEST
 monitor_xfer_partial (struct target_ops *ops, enum target_object object,
                      const char *annex, gdb_byte *readbuf,
-                     const gdb_byte *writebuf, ULONGEST offset, LONGEST len)
+                     const gdb_byte *writebuf, ULONGEST offset, ULONGEST len)
 {
   switch (object)
     {