From 8ac770821cb0463668f69e89ec28987544386060 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Tue, 30 Nov 1999 23:15:11 +0000 Subject: [PATCH] small fix to avoid signed/unsigned warning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@339 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ImportNoweb.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImportNoweb.C b/src/ImportNoweb.C index 9657530c86..48d03dc36b 100644 --- a/src/ImportNoweb.C +++ b/src/ImportNoweb.C @@ -63,10 +63,10 @@ string ImportNoweb::documentclass() if (!ifs) return "nofile"; // Should not happen! string line; while (getline(ifs, line)) { - int p = line.find("\\documentclass"); + string::size_type p = line.find("\\documentclass"); if (p != string::npos) { p = line.find('{', p); - int q = line.find('}', p); + string::size_type q = line.find('}', p); result = "literate-" + line.substr(p, q - p); break; } -- 2.39.2