{"thread":{"id":"22312","subject":"[PATCH 3/4] msvc: Fix a compiler warning due to an incorrect pointer cast","startedAt":"2010-01-20T19:34:14Z","lastAt":"2010-01-23T00:08:32Z","messageCount":2,"participants":["Ramsay Jones","Sebastian Schuberth"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"132215","messageId":"4B575AB6.4060502@ramsay1.demon.co.uk","threadId":"22312","inReplyTo":null,"subject":"[PATCH 3/4] msvc: Fix a compiler warning due to an incorrect pointer cast","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsay1.demon.co.uk","sentAt":"2010-01-20T19:34:14Z","receivedAt":"2010-01-20T19:34:14Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>\n---\n\nThe warning in question being:\n\n    .../regex.c(2811) : warning C4047: '=' : 'regoff_t *' differs in levels \\\nof indirection from 'int'\n\nNote also that the final line of context in the diff below contains an ^L\ncharacter, which will hopefully find it's way to the list...\n\nATB,\nRamsay Jones\n\n compat/regex/regex.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/compat/regex/regex.c b/compat/regex/regex.c\nindex 67d5c37..556d8ab 100644\n--- a/compat/regex/regex.c\n+++ b/compat/regex/regex.c\n@@ -2808,7 +2808,7 @@ re_set_registers (bufp, regs, num_regs, starts, ends)\n     {\n       bufp->regs_allocated = REGS_UNALLOCATED;\n       regs->num_regs = 0;\n-      regs->start = regs->end = (regoff_t) 0;\n+      regs->start = regs->end = (regoff_t *) 0;\n     }\n }\n \f\n-- \n1.6.6\n"},{"id":"132432","messageId":"4B5A3E00.3030500@gmail.com","threadId":"22312","inReplyTo":"4B575AB6.4060502@ramsay1.demon.co.uk","subject":"Re: [PATCH 3/4] msvc: Fix a compiler warning due to an incorrect pointer cast","fromName":"Sebastian Schuberth","fromEmail":"sschuberth@gmail.com","sentAt":"2010-01-23T00:08:32Z","receivedAt":"2010-01-23T00:08:32Z","isPatch":true,"sender":{"key":"sschuberth@gmail.com","avatar":"https://avatars.githubusercontent.com/u/349154?v=4"},"body":"On 20.01.2010 20:34, Ramsay Jones wrote:\n\n> Signed-off-by: Ramsay Jones<ramsay@ramsay1.demon.co.uk>\n> ---\n>\n> The warning in question being:\n>\n>      .../regex.c(2811) : warning C4047: '=' : 'regoff_t *' differs in levels \\\n> of indirection from 'int'\n>\n> Note also that the final line of context in the diff below contains an ^L\n> character, which will hopefully find it's way to the list...\n\nAcked-by: Sebastian Schuberth <sschuberth@gmail.com>\n\n-- \nSebastian Schuberth\n"}]}