Change to_xfer_partial 'len' type to ULONGEST.
[platform/upstream/binutils.git] / gdb / tracepoint.c
index 4b47282..f3b9bfc 100644 (file)
@@ -5104,7 +5104,7 @@ tfile_fetch_registers (struct target_ops *ops,
 static LONGEST
 tfile_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)
 {
   /* We're only doing regular memory for now.  */
   if (object != TARGET_OBJECT_MEMORY)